|
@@ -158,6 +158,7 @@ class User extends Controller
|
|
|
db('accountsmessage')->insertGetId($param);
|
|
db('accountsmessage')->insertGetId($param);
|
|
|
if(!empty($info)){
|
|
if(!empty($info)){
|
|
|
db('accounts')->where('id',$account_id)->update($info);
|
|
db('accounts')->where('id',$account_id)->update($info);
|
|
|
|
|
+ db('accountsmessage')->where('account_id',$account_id)->update($info);
|
|
|
}
|
|
}
|
|
|
}catch(\Exception $e){
|
|
}catch(\Exception $e){
|
|
|
return json(['code' => -1, 'data' => '', 'msg' => $e->getMessage()]);
|
|
return json(['code' => -1, 'data' => '', 'msg' => $e->getMessage()]);
|