资料填写地址默认

master
sunke 5 years ago
parent 693f8c9991
commit 126c7755db

@ -325,7 +325,7 @@ class SafeController extends BaseController{
$promoteInfo['personalstatus'] = true;
$promoteInfo['complanystatus'] = false;
}
if(!empty(json_decode($address))) {
if(!empty(json_decode($address)) && count(json_decode($address)) >= 2) {
$addressArr = explode(',', json_decode($address)[0]);
$promoteInfo['addressdata'] = $addressArr;
$this->assign('addr',json_decode($address)[1]);

Loading…
Cancel
Save