|
|
@@ -722,7 +722,7 @@ class DeclarationForm extends Model
|
|
|
$userPayPasswd = '111111';
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 增加会员
|
|
|
$user = new User();
|
|
|
$user->USER_NAME = $this->insertUserName;
|
|
|
@@ -744,8 +744,8 @@ class DeclarationForm extends Model
|
|
|
$user->DEC_LV = $this->decLv;
|
|
|
$user->LAST_DEC_LV = $this->decLv;
|
|
|
$user->EMP_LV = EmployLevel::getDefaultLevelId();
|
|
|
- $user->PROVINCE = $this->province ?? 0;
|
|
|
- $user->CITY = $this->city ?? 0;
|
|
|
+ $user->PROVINCE = intval($this->province) ?? 0;
|
|
|
+ $user->CITY = intval($this->city) ?? 0;
|
|
|
$user->COUNTY = intval($this->county) ?? 0;
|
|
|
$user->AVATAR = 'avatar/1.png';
|
|
|
$user->IS_DEC = 0;
|