application/index/model/FreightDetailSpace.php
(完整代码) 872B<?php
//声明当前model的目录位置
namespace app\index\model;
use think\Model;
//use think\Request;
class FreightDetailSpace extends Model
{
public function add(){
$FreightDetailSpace=new FreightDetailSpace;
$FreightDetailSpace->case_id=request()->param('case_id');
$FreightDetailSpace->uid=request()->param('uid');
$FreightDetailSpace->province=request()->param('province');
$FreightDetailSpace->head_weight=request()->param('head_weight');
$FreightDetailSpace->head_money=request()->param('head_money');
$FreightDetailSpace->continue_weight=request()->param('continue_weight');
$FreightDetailSpace->continue_money=request()->param('continue_money');
$FreightDetailSpace->save();
return $FreightDetailSpace->id;
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。