|
|
@@ -77,7 +77,7 @@ class LoginLogic extends BaseLogic
|
|
|
$master->save([
|
|
|
'maintain_exp_type' => isset($params['maintain_exp_type'])?$params['maintain_exp_type']:0,
|
|
|
'other_exp_type' => isset($params['other_exp_type'])?$params['other_exp_type']:'',
|
|
|
- 'other_exp_name' => (isset($params['other_exp_name']) && $params['other_exp_type'] == 4)?$params['other_exp_name']:'',
|
|
|
+ 'other_exp_name' => (isset($params['other_exp_name']) && isset($params['other_exp_type']) && $params['other_exp_type'] == 4)?$params['other_exp_name']:'',
|
|
|
'city' => $params['city'],
|
|
|
'vehicle_type' => $params['vehicle_type'],
|
|
|
'name' => $params['name'],
|
|
|
@@ -96,7 +96,7 @@ class LoginLogic extends BaseLogic
|
|
|
MasterWorkerRegister::create([
|
|
|
'maintain_exp_type' => isset($params['maintain_exp_type'])?$params['maintain_exp_type']:0,
|
|
|
'other_exp_type' => isset($params['other_exp_type'])?$params['other_exp_type']:'',
|
|
|
- 'other_exp_name' => (isset($params['other_exp_name']) && $params['other_exp_type'] == 4)?$params['other_exp_name']:'',
|
|
|
+ 'other_exp_name' => (isset($params['other_exp_name']) && isset($params['other_exp_type']) && $params['other_exp_type'] == 4)?$params['other_exp_name']:'',
|
|
|
'city' => $params['city'],
|
|
|
'vehicle_type' => $params['vehicle_type'],
|
|
|
'name' => $params['name'],
|