application/index/model/WithdrawSpace.php
(完整代码) 1KB<?php
//声明当前model的目录位置
namespace app\index\model;
use think\Model;
//use think\Request;
class WithdrawSpace extends Model
{
public function add($final_withdraw,$method_type,$account_name,$account_num,$open_bank,$pic,$status)
{
$withdraw = new WithdrawSpace;
$withdraw->total = request()->param('total');
$withdraw->final_withdraw = $final_withdraw;
$withdraw->status = $status;
//防止修改提现方式,直接提交账户详细信息。
$withdraw->method_type = $method_type;
$withdraw->account_name = $account_name;
$withdraw->account_num = $account_num;
$withdraw->open_bank = $open_bank;
$withdraw->pic = $pic;
// $arr_pic = request()->post('pic/a');
// if (!empty($arr_pic)) {
// $pic_string = implode(",", $arr_pic);
// }
// $withdraw->pic = $pic_string;
$withdraw->update_time =time();
$withdraw->uid = session('uid','', 'index');
$withdraw->username = session('username','','index');
if($withdraw->save()){
return $withdraw->id;
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。