Merge branch 'fix/admin_second_optimization' of wmtx/platform into release

优化空值修改4
master
廖金灵 5 years ago committed by Gogs
commit 90fed8c5b1

@ -326,6 +326,9 @@ class PromoteCompanyController extends ThinkController
if(isset($save['company_belong']) && ($y_belong != $save['company_belong'])){
$is_change_belong = true;
}
if(empty($save['contact_phone'])){
$save['contact_phone'] = NULL;
}
$res = $model->save($save);
if ($res) {
\Think\Log::actionLog('PromoteCompany/edit', 'partner', $res);

Loading…
Cancel
Save