Browse Source

fix 小店提现返回

zoujiajian 2 năm trước cách đây
mục cha
commit
70df3e63c3

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/cps/shop/YhShopManageServiceImpl.java

@@ -260,7 +260,7 @@ public class YhShopManageServiceImpl implements YhShopManageService{
 				yhShopDistributeMoneyApplyMapper.insert(distributeMoneyApply);
 				//大额提现 超过400
 				if (distributeMoneyApply.getVerifyStatus() == YhShopDistributeMoneyApply.Status.verifying && distributeMoneyApply.getMoney().compareTo(fourHundred) > 0) {
-					SmsUtil.sendLuoKey2Msg(Constant.ZK_MOBILE, "推广有大额提现申请【银河录像局】");
+					SmsUtil.sendLuoKey2Msg(Constant.ZK_MOBILE, "小店店铺有大额提现申请【银河录像局】");
 				}
 			} catch (Exception e) {
 				userBenefitsService.addYhsMoney(userId, distributeMoneyApply.getMoney());

+ 1 - 2
netflix-web/src/main/java/com/cyksj/web/controller/manage/goods/shop/YhShopUserController.java

@@ -258,7 +258,6 @@ public class YhShopUserController {
 	public Result<String> yhShopApplyMoney(@RequestBody YhShopApplyMoneyReq applyMoneyReq) throws Exception {
 		long userId = StpYhShopManageUser.getLoginIdAsLong();
 		applyMoneyReq.setUserId(userId);
-		yhShopManageService.applyMoney(applyMoneyReq);
-		return GatewayResponse.SUCCESS.newBuilder().toResult();
+		return yhShopManageService.applyMoney(applyMoneyReq);
 	}
 }