|
...
|
...
|
@@ -197,38 +197,5 @@ class LoginController extends BaseController |
|
|
|
$info = $logic->autologin($data);
|
|
|
|
$this->response('success',Code::SUCCESS,['info'=>$info]);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function ceshi(){
|
|
|
|
$param = array (
|
|
|
|
'title' => '20230830-广东展翠食品股份有限公司',
|
|
|
|
'company' => '广东展翠食品股份有限公司',
|
|
|
|
'lead_name' => '蔡先生',
|
|
|
|
'mobile' => '15994944976',
|
|
|
|
'mysql_id' => 2,
|
|
|
|
'qq' => '3590058664',
|
|
|
|
'channel' => '{"zone_id":4,"channel_id":68,"user_id":522}',
|
|
|
|
'requirement' => '赠送达标天数183天,赠送一个小语种(国家任选),网站域名归甲方所有',
|
|
|
|
'cooperate_date' => '2023-06-26',
|
|
|
|
);
|
|
|
|
if(isset($param['level']) && !empty($param['level'])){
|
|
|
|
$param['level'] = Arr::arrToSet($param['level']);
|
|
|
|
}
|
|
|
|
if(isset($param['channel']) && !empty($param['channel'])){
|
|
|
|
$param['channel'] = Arr::a2s($param['channel']);
|
|
|
|
}
|
|
|
|
if(isset($param['notice_file']) && !empty($param['notice_file'])){
|
|
|
|
foreach ($param['notice_file'] as &$v1) {
|
|
|
|
$v1['url'] = basename($v1['url']);
|
|
|
|
}
|
|
|
|
$param['notice_file'] = Arr::a2s($param['notice_file']);
|
|
|
|
}
|
|
|
|
if(isset($param['confirm_file']) && !empty($param['confirm_file'])){
|
|
|
|
foreach ($param['confirm_file'] as &$v2) {
|
|
|
|
$v2['url'] = basename($v2['url']);
|
|
|
|
}
|
|
|
|
$param['confirm_file'] = Arr::a2s($param['confirm_file']);
|
|
|
|
}
|
|
|
|
$projectModel = new Project();
|
|
|
|
return $projectModel->addReturnId($param);
|
|
|
|
}
|
|
|
|
|
|
|
|
} |
...
|
...
|
|