正在显示
1 个修改的文件
包含
1 行增加
和
34 行删除
| @@ -197,38 +197,5 @@ class LoginController extends BaseController | @@ -197,38 +197,5 @@ class LoginController extends BaseController | ||
| 197 | $info = $logic->autologin($data); | 197 | $info = $logic->autologin($data); |
| 198 | $this->response('success',Code::SUCCESS,['info'=>$info]); | 198 | $this->response('success',Code::SUCCESS,['info'=>$info]); |
| 199 | } | 199 | } |
| 200 | - | ||
| 201 | - public function ceshi(){ | ||
| 202 | - $param = array ( | ||
| 203 | - 'title' => '20230830-广东展翠食品股份有限公司', | ||
| 204 | - 'company' => '广东展翠食品股份有限公司', | ||
| 205 | - 'lead_name' => '蔡先生', | ||
| 206 | - 'mobile' => '15994944976', | ||
| 207 | - 'mysql_id' => 2, | ||
| 208 | - 'qq' => '3590058664', | ||
| 209 | - 'channel' => '{"zone_id":4,"channel_id":68,"user_id":522}', | ||
| 210 | - 'requirement' => '赠送达标天数183天,赠送一个小语种(国家任选),网站域名归甲方所有', | ||
| 211 | - 'cooperate_date' => '2023-06-26', | ||
| 212 | - ); | ||
| 213 | - if(isset($param['level']) && !empty($param['level'])){ | ||
| 214 | - $param['level'] = Arr::arrToSet($param['level']); | ||
| 215 | - } | ||
| 216 | - if(isset($param['channel']) && !empty($param['channel'])){ | ||
| 217 | - $param['channel'] = Arr::a2s($param['channel']); | ||
| 218 | - } | ||
| 219 | - if(isset($param['notice_file']) && !empty($param['notice_file'])){ | ||
| 220 | - foreach ($param['notice_file'] as &$v1) { | ||
| 221 | - $v1['url'] = basename($v1['url']); | ||
| 222 | - } | ||
| 223 | - $param['notice_file'] = Arr::a2s($param['notice_file']); | ||
| 224 | - } | ||
| 225 | - if(isset($param['confirm_file']) && !empty($param['confirm_file'])){ | ||
| 226 | - foreach ($param['confirm_file'] as &$v2) { | ||
| 227 | - $v2['url'] = basename($v2['url']); | ||
| 228 | - } | ||
| 229 | - $param['confirm_file'] = Arr::a2s($param['confirm_file']); | ||
| 230 | - } | ||
| 231 | - $projectModel = new Project(); | ||
| 232 | - return $projectModel->addReturnId($param); | ||
| 233 | - } | 200 | + |
| 234 | } | 201 | } |
-
请 注册 或 登录 后发表评论