Merge branch 'gray' into test6.9.6
Showing
4 changed files
with
6 additions
and
5 deletions
@@ -64,7 +64,7 @@ public class TradeBillsController { | @@ -64,7 +64,7 @@ public class TradeBillsController { | ||
64 | @RequestMapping(value = "/unbindingAuthorizeInfoByUid") | 64 | @RequestMapping(value = "/unbindingAuthorizeInfoByUid") |
65 | public ApiResponse unbindingAuthorizeInfoByUid(Integer uid) { | 65 | public ApiResponse unbindingAuthorizeInfoByUid(Integer uid) { |
66 | LOGGER.info("unbindingAuthorizeInfoByUid in. uid is {}", uid); | 66 | LOGGER.info("unbindingAuthorizeInfoByUid in. uid is {}", uid); |
67 | - | 67 | + billsTradeService.unbindingAuthorizeInfoByUid(uid); |
68 | return new ApiResponse.ApiResponseBuilder().code(200).message("已解绑").build(); | 68 | return new ApiResponse.ApiResponseBuilder().code(200).message("已解绑").build(); |
69 | } | 69 | } |
70 | 70 |
@@ -254,12 +254,14 @@ public class TradeBillsServiceImpl implements ITradeBillsService { | @@ -254,12 +254,14 @@ public class TradeBillsServiceImpl implements ITradeBillsService { | ||
254 | LOGGER.info("unbindingAuthorizeInfoByUid service in. unbinding uid is {},operator user id {} ,user name {},userInfo {}", uid,userInfo.getUserId(),userInfo.getUserName(),userInfo); | 254 | LOGGER.info("unbindingAuthorizeInfoByUid service in. unbinding uid is {},operator user id {} ,user name {},userInfo {}", uid,userInfo.getUserId(),userInfo.getUserName(),userInfo); |
255 | //TODO 记录解绑日志 ,调用解绑接口,并且清理本地local cache缓存 | 255 | //TODO 记录解绑日志 ,调用解绑接口,并且清理本地local cache缓存 |
256 | 256 | ||
257 | - /*AuthorizeInfoReq req = new AuthorizeInfoReq(); | 257 | + AuthorizeInfoReq req = new AuthorizeInfoReq(); |
258 | req.setUid(uid); | 258 | req.setUid(uid); |
259 | req.setOperatorUid(userInfo.getUserId()); | 259 | req.setOperatorUid(userInfo.getUserId()); |
260 | req.setOperatorName(userInfo.getUserName()); | 260 | req.setOperatorName(userInfo.getUserName()); |
261 | + JSONObject jsonObject = serviceCaller.asyncCall("userRealNameAuthorize.clearAliPayAccount", req, JSONObject.class).get(5); | ||
262 | + LOGGER.info("unbindingAuthorizeInfoByUid service in. unbinding uid is {},call result jsonObject {},userInfo {}", uid,JSON.toJSONString(jsonObject),userInfo); | ||
261 | 263 | ||
262 | - localUidAlipayAccountCache.invalidate(uid);*/ | 264 | + localUidAlipayAccountCache.invalidate(uid); |
263 | } | 265 | } |
264 | 266 | ||
265 | 267 |
@@ -105,8 +105,6 @@ function getAuthorizeInfoList(param){ | @@ -105,8 +105,6 @@ function getAuthorizeInfoList(param){ | ||
105 | } | 105 | } |
106 | 106 | ||
107 | function openUnbindingConfirmDialog(uid) { | 107 | function openUnbindingConfirmDialog(uid) { |
108 | - alert("开发中..."); | ||
109 | - return ; | ||
110 | $.messager.confirm("确认解绑", "是否确认解绑[uid="+uid+"]", function(flag) { | 108 | $.messager.confirm("确认解绑", "是否确认解绑[uid="+uid+"]", function(flag) { |
111 | if (flag) { | 109 | if (flag) { |
112 | $.post(contextPath + "/tradeBills/unbindingAuthorizeInfoByUid", { | 110 | $.post(contextPath + "/tradeBills/unbindingAuthorizeInfoByUid", { |
@@ -511,6 +511,7 @@ function getOrderInfo(orderCode){ | @@ -511,6 +511,7 @@ function getOrderInfo(orderCode){ | ||
511 | $("#sizeName").html(result.data.sizeName); | 511 | $("#sizeName").html(result.data.sizeName); |
512 | $("#goodsPrice").html(result.data.goodsPrice); | 512 | $("#goodsPrice").html(result.data.goodsPrice); |
513 | $("#couponCutAmount").html(result.data.couponCutAmount); | 513 | $("#couponCutAmount").html(result.data.couponCutAmount); |
514 | + $("#activityCutAmount").html(result.data.activityCutAmount); | ||
514 | $("#productNum").html(result.data.productNum); | 515 | $("#productNum").html(result.data.productNum); |
515 | $("#shipFee").html(result.data.shipFee); | 516 | $("#shipFee").html(result.data.shipFee); |
516 | $("#amount").html(result.data.amount); | 517 | $("#amount").html(result.data.amount); |
-
Please register or login to post a comment