|
...
|
...
|
@@ -94,15 +94,13 @@ class ProjectLogic extends BaseLogic |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :未续费项目单独保存
|
|
|
|
* @remark :保存项目
|
|
|
|
* @name :setExtendType
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/8/30 12:14
|
|
|
|
*/
|
|
|
|
public function saveProject($param){
|
|
|
|
|
|
|
|
//未续费项目
|
|
|
|
if($param['type'] == Project::TYPE_FIVE){
|
|
|
|
$param['extend_type'] == Project::TYPE_FIVE;
|
|
|
|
unset($param['type']);
|
|
...
|
...
|
@@ -125,7 +123,7 @@ class ProjectLogic extends BaseLogic |
|
|
|
}
|
|
|
|
$param['confirm_file'] = Arr::a2s($param['confirm_file']);
|
|
|
|
}
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($param, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
unset($param['payment'],$param['deploy_build'],$param['deploy_optimize'],$param['online_check'],$param['project_after']);
|
|
|
|
$this->model->edit($param,['id'=>$param['id']]);
|
|
|
|
Common::del_user_cache($this->model->getTable(),$param['id']);
|
|
|
|
return $this->success();
|
...
|
...
|
|