diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index 1c92f2e8..4d32cf9c 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -243,7 +243,8 @@ dubbo: bxg: shop: - API_URL: http://192.168.10.113:48080/bxgApp + API_URL: https://2598-27-19-79-216.jp.ngrok.io +# API_URL: http://192.168.10.113:48080/bxgApp SITE_URL: http://192.168.10.113:48080/bxgApp UNI_SITE_URL: http://192.168.10.113:48080/bxgApp ADMIN_API_URL: http://192.168.10.113:48080/bxg \ No newline at end of file diff --git a/zsw-bxg/src/main/java/co/yixiang/constant/ShopConstants.java b/zsw-bxg/src/main/java/co/yixiang/constant/ShopConstants.java index a007f608..8476ca47 100644 --- a/zsw-bxg/src/main/java/co/yixiang/constant/ShopConstants.java +++ b/zsw-bxg/src/main/java/co/yixiang/constant/ShopConstants.java @@ -114,7 +114,7 @@ public interface ShopConstants { /** * 签到天数 */ - String ZSW_SIGN_DAY_NUM = "zsw_sign_day_num"; + String ZSW_SIGN_DAY_NUM = "yshop_sign_day_num"; /** * 打印机配置 diff --git a/zsw-bxg/src/main/java/co/yixiang/modules/activity/rest/StoreCouponIssueController.java b/zsw-bxg/src/main/java/co/yixiang/modules/activity/rest/StoreCouponIssueController.java index 6395e5fb..06660cc1 100644 --- a/zsw-bxg/src/main/java/co/yixiang/modules/activity/rest/StoreCouponIssueController.java +++ b/zsw-bxg/src/main/java/co/yixiang/modules/activity/rest/StoreCouponIssueController.java @@ -52,7 +52,8 @@ public class StoreCouponIssueController { @Log("发布") @ApiOperation(value = "发布") @PostMapping(value = "/yxStoreCouponIssue") - @PreAuthorize("@ss.hasAnyPermissions('admin','YXSTORECOUPONISSUE_ALL','YXSTORECOUPONISSUE_CREATE')") +// @PreAuthorize("@ss.hasAnyPermissions('admin','YXSTORECOUPONISSUE_ALL','YXSTORECOUPONISSUE_CREATE')") + @PreAuthorize("@ss.hasAnyPermissions('admin','YXSTORECOUPON_ALL','YXSTORECOUPON_EDIT')") public ResponseEntity create(@Validated @RequestBody YxStoreCouponIssue resources){ if(resources.getTotalCount() > 0) { resources.setRemainCount(resources.getTotalCount());