修改用户信息返回
This commit is contained in:
parent
6679124abf
commit
1ef145cb81
@ -391,8 +391,9 @@ class Auth extends BaseController
|
||||
}else{
|
||||
$data['mer_info'] =$mer_arr;
|
||||
}
|
||||
$typCode = Db::name('merchant_type')->where('mer_type_id', $mer_arr['type_id'] ?? 0)->value('type_code');
|
||||
$data['mer_info']['type_code'] = $typCode;
|
||||
$merType = Db::name('merchant_type')->where('mer_type_id', $mer_arr['type_id'] ?? 0)->field('type_code,type_name')->find();
|
||||
$data['mer_info']['type_code'] = $merType['type_code'];
|
||||
$data['mer_info']['type_name'] = $merType['type_name'];
|
||||
$data['mer_info']['setting_status'] = 0;
|
||||
if (($mer_arr['update_time'] ?? '') > ($mer_arr['create_time'] ?? '')) {
|
||||
$data['mer_info']['setting_status'] = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user