修复编辑的错误

This commit is contained in:
mkm 2023-09-05 17:05:53 +08:00
parent 5209382fd4
commit 59ceb976f6

View File

@ -162,6 +162,9 @@ class TaskTemplateLogic extends BaseLogic
if($params['types']!=33){
$params['money_three']=0;
}
if($params['type']==35){
$params['extend']=['shareholder'=>['user_id'=>$params['task_admin']]];
}
TaskTemplate::where('id', $params['id'])->update([
'title' => $params['title'],
'admin_id' => $params['admin_id'],