fix: 修改地址时候,如果地址信息没有变化,返回的提示为空串,如果有变化,返回修改成功2
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 | - return new ApiResponse.ApiResponseBuilder().code(200).message(info).build(); | 146 | + ApiResponse rtn = new ApiResponse(200,info,null); |
147 | + rtn.setMessage(info); | ||
148 | + return rtn; | ||
147 | } | 149 | } |
148 | 150 | ||
149 | 151 |
-
Please register or login to post a comment