Explorar el Código

快跑者创建订单的手机号更换成地址手机号

liu hace 9 meses
padre
commit
e159e74ebd

+ 2 - 2
src/main/java/com/sqx/modules/callBack/controller/CallBackController.java

@@ -328,7 +328,7 @@ public class CallBackController {
         }
         body.put("customer_name", userName);
 
-        String userPhone = tbOrder.getPhone();
+        String userPhone = address.getUserPhone();
         if (ObjectUtils.isNotEmpty(userPhone)) {
             try {
                 userPhone = URLEncoder.encode(userPhone, "UTF-8");
@@ -453,7 +453,7 @@ public class CallBackController {
 
 //        String userPhone = address.getUserPhone();
 
-        body2.put("customer_tel", tbOrder.getPhone());
+        body2.put("customer_tel", address.getUserPhone());
 
 
 //        String addressDetail = address.getAddressDetail();

+ 2 - 2
src/main/java/com/sqx/modules/errand/service/impl/TbIndentServiceImpl.java

@@ -532,7 +532,7 @@ public class TbIndentServiceImpl extends ServiceImpl<TbIndentDao, TbIndent> impl
         }
         body.put("customer_name", userName);
 
-        String userPhone = tbOrder.getPhone();
+        String userPhone = address.getUserPhone();
         if (ObjectUtils.isNotEmpty(userPhone)) {
             try {
                 userPhone = URLEncoder.encode(userPhone, "UTF-8");
@@ -657,7 +657,7 @@ public class TbIndentServiceImpl extends ServiceImpl<TbIndentDao, TbIndent> impl
 
 //        String userPhone = address.getUserPhone();
 
-        body2.put("customer_tel", tbOrder.getPhone());
+        body2.put("customer_tel", address.getUserPhone());
 
 
 //        String addressDetail = address.getAddressDetail();