作者 sgj
1 个管道 的构建 失败 耗费 4 秒

提交信息修改

... ... @@ -67,7 +67,9 @@ class OrderController extends AdminBaseController
}
$data['remark']=htmlspecialchars(cmf_replace_content_file_url(htmlspecialchars_decode($data['remark']), true));
$data['reason']=htmlspecialchars(cmf_replace_content_file_url(htmlspecialchars_decode($data['reason']), true));
if(!empty( $data['reason'])){
$data['reason']=htmlspecialchars(cmf_replace_content_file_url(htmlspecialchars_decode($data['reason']), true));
}
$result=db('orders')->where('id',$id)->update($data);
if ($result){
$this->success('编辑成功');
... ...