Browse Source

//update

release_toaliyun_real
xhxu 4 years ago
parent
commit
d21fa32eff
2 changed files with 8 additions and 0 deletions
  1. +5
    -0
      mallinkAdmin/src/main/resources/db/migration/V2022041100001__addpoi.sql
  2. +3
    -0
      mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java

+ 5
- 0
mallinkAdmin/src/main/resources/db/migration/V2022041100001__addpoi.sql View File

@@ -8,3 +8,8 @@ INSERT INTO `mallink`.`mall_permission`(`id`, `name`, `parent_id`, `available`,


UPDATE `mallink`.`mall_sale_type` SET `menus` = '[1, 2, 4, 5, 6, 50, 105, 110, 201, 205, 202, 211, 212, 221, 222, 223, 251, 409, 410, 411, 416, 500, 502, 504, 505, 506, 507, 508, 511, 512, 521, 522, 523, 531, 532, 591, 592, 595, 602, 605, 606, 607, 610, 647, 671, 674, 675, 680, 711, 901, 902, 904, 907, 60702]' WHERE `id` = 11;



--INSERT INTO `mallink`.`wx_appinfo`(`id`, `tenant_id`, `app_id`, `parent_app_id`, `name`, `secret`, `token`, `aes_key`, `msg_data_format`, `access_token`, `last_token_time`, `expires_in`, `pay_id`, `type`, `mould_type`, `pay_bill_id`, `group_support`, `enable`, `plat`, `sort_url`, `business_license`, `icp`) VALUES (666103839602501567, '1038', 'awf1mjtw8wtn5t85', '0', 'POI网站应用', 'fb2e7cc0ddb3f03bd97c08e2b4de271f', NULL, NULL, NULL, 'clt.0ed71c54314a9977bff6cd8f5d2d56d7HedJcAf44BiozD8QVXckbzRnxSt8', '2022-04-17 14:29:13', 7200, NULL, 5, 0, NULL, 0, 0, 3, NULL, NULL, NULL);


+ 3
- 0
mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java View File

@@ -329,6 +329,9 @@ public class TtMerchantPoiServiceImpl implements TtMerchantPoiService {
} catch (WxErrorException e) {
logger.error("发起店铺同步error"+e.getMessage());
throw new MallinkException(ErrorCode.MSG_METHOD_REQUEST_ERROR.getCode(),e.getMessage());
} catch (Exception e){
logger.error("发起店铺同步error"+e.getMessage());
throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage());
}
return supplierId;
}


Loading…
Cancel
Save