Commit 969003fd by guojuxing

授权回调修复

parent c62b561a
......@@ -317,9 +317,8 @@ public class WmMallStoreController {
@RequestMapping("auth-callback")
@ResponseBody
public void authCallBack(String code, Integer wmMallStoreId) throws IOException {
Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId();
try {
ServiceResponse<Void> authWmResponse = weimobMerchantService.weimobStoreAuth(enterpriseId, code);
ServiceResponse<Void> authWmResponse = weimobMerchantService.weimobStoreAuth(wmMallStoreId, code);
LOGGER.info("微盟中间件返回结果:{}", JSON.toJSONString(authWmResponse));
if (authWmResponse.isSuccess()) {
//更新gic侧店铺授权状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment