Commit 97ba0644 authored by wuxiaoli's avatar wuxiaoli

no message

parent 813939e3
Pipeline #762 canceled with stages
......@@ -153,10 +153,10 @@ class Users extends Api
$params=$this->request->param();
if(!empty($params['educational'])){
$params['educational']=htmlspecialchars_decode($params['educational']);
$params['educational']= json_encode($params['educational'],JSON_UNESCAPED_UNICODE);
}
if(!empty($params['work_experience'])){
$params['work_experience']=htmlspecialchars_decode($params['work_experience']);
$params['work_experience']= json_encode($params['work_experience'],JSON_UNESCAPED_UNICODE);
}
UsersModel::where(['id'=>$this->auth->id])->update($params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment