From efa1a331bb9b3fef09c5b6a4e409bec03383e224 Mon Sep 17 00:00:00 2001 From: sj <1304317391@qq.com> Date: Sat, 15 Oct 2022 13:46:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=98=E6=83=A0=E5=88=B8?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-server/src/main/resources/application-local.yaml | 3 ++- zsw-bxg/src/main/java/co/yixiang/constant/ShopConstants.java | 2 +- .../modules/activity/rest/StoreCouponIssueController.java | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) 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());