Authored by Rock Zhang

修改新建地址接口

@@ -233,7 +233,7 @@ class UserData @@ -233,7 +233,7 @@ class UserData
233 $param['consignee'] = $consignee; 233 $param['consignee'] = $consignee;
234 $param['email'] = $email; 234 $param['email'] = $email;
235 235
236 - if ($id !== null) { // 修改 236 + if (!empty($id)) { // 修改
237 $param['id'] = $id; 237 $param['id'] = $id;
238 $param['method'] = 'app.address.update'; 238 $param['method'] = 'app.address.update';
239 } else { // 添加 239 } else { // 添加