fix: 修改地址时候,如果地址信息没有变化,返回的提示为空串,如果有变化,返回修改成功5
Showing
1 changed file
with
3 additions
and
1 deletions
@@ -143,7 +143,9 @@ public class BuyerOrderController { | @@ -143,7 +143,9 @@ public class BuyerOrderController { | ||
143 | if(changed){ | 143 | if(changed){ |
144 | info = "修改成功"; | 144 | info = "修改成功"; |
145 | } | 145 | } |
146 | - ApiResponse rtn = new ApiResponse(200,info,"修改地址成功"); | 146 | + /* ApiResponse rtn = new ApiResponse(200,info,"修改地址成功"); |
147 | + rtn.setMessage(info);*/ | ||
148 | + ApiResponse rtn =new ApiResponse.ApiResponseBuilder().code(200).message("修改收货地址成功").build(); | ||
147 | rtn.setMessage(info); | 149 | rtn.setMessage(info); |
148 | return rtn; | 150 | return rtn; |
149 | } | 151 | } |
-
Please register or login to post a comment