From 9d19ca02aa30c4d486a4cfe861d698d454ce8d5b Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期一, 30 十月 2023 10:08:29 +0800 Subject: [PATCH] 商户认证代码 --- cloud-server-activity/src/main/java/com/dsh/activity/controller/CouponController.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/cloud-server-activity/src/main/java/com/dsh/activity/controller/CouponController.java b/cloud-server-activity/src/main/java/com/dsh/activity/controller/CouponController.java index e4d115e..4a16c13 100644 --- a/cloud-server-activity/src/main/java/com/dsh/activity/controller/CouponController.java +++ b/cloud-server-activity/src/main/java/com/dsh/activity/controller/CouponController.java @@ -526,6 +526,14 @@ if(dataVo.getObjType()!=1){ coupon.setAuditStatus(1); } + if (dataVo.getUserType()==1){ + coupon.setAuditStatus(2); + }else{ + coupon.setAuditStatus(1); + } + if(dataVo.getObjType()!=1){ + coupon.setAuditStatus(1); + } boolean save = couponService.save(coupon); if (save){ -- Gitblit v1.7.1