调整接口

This commit is contained in:
2024-05-06 23:31:43 +08:00
parent b67da75dc2
commit f25178d3bc
4 changed files with 173 additions and 31 deletions

View File

@@ -197,21 +197,13 @@ public class CTServiceImpl implements CTService {
body.put("name", name);
body.put("idCard", idCard);
body.put("contactMobile", contactMobile);
if (ObjectUtil.isNotNull(installedAddress)) {
body.put("installedAddress", installedAddress);
}
body.put("installedAddress", installedAddress);
body.put("saleId", saleId);
body.put("storeId", storeId);
body.put("personnelId", personnelId);
if (ObjectUtil.isNotNull(province)) {
body.put("province", province);
}
if (ObjectUtil.isNotNull(city)) {
body.put("city", city);
}
if (ObjectUtil.isNotNull(county)) {
body.put("county", county);
}
body.put("province", province);
body.put("city", city);
body.put("county", county);
if (ObjectUtil.isNull(installedAddress) || ObjectUtil.isNull(province) || ObjectUtil.isNull(city) || ObjectUtil.isNull(county)) {
body.put("deliveryMethod", "2");
} else {