Authored by chenchao

add hk area code

... ... @@ -932,7 +932,7 @@ public class ProductServiceImpl implements IProductService, ApplicationContextAw
}
return new ApiResponse<>(200, "查询成功", item);
}
private static final int HK_AREA_CODE = 852;
@Override
public ApiResponse<Integer> batchImportFromXls(MultipartFile file, Integer editUid) throws Exception {
LOGGER.info("用户{}开始导入商品数据!", editUid);
... ... @@ -1129,8 +1129,11 @@ public class ProductServiceImpl implements IProductService, ApplicationContextAw
AddressInfo addressHidden = null;
if(userResp.isLargeSettlementSuper()) {
address = new AddressInfo();
String areaCode = String.valueOf(HK_AREA_CODE);
address.setAreaCode(areaCode);
address.setAddress("香港客户地址");
addressHidden = new AddressInfo();
addressHidden.setAreaCode(areaCode);
addressHidden.setAddress("香港客户地址");
} else {
try {
... ...