From e07f9357bfa3539ec96cb7f42bf441af4b794f26 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 21 Sep 2023 14:53:07 +0800 Subject: [PATCH] =?UTF-8?q?#35313=20=E7=BC=BA=E9=99=B7=20=E3=80=90?= =?UTF-8?q?=E6=A2=A6=E5=B7=A5=E5=9C=BA=E7=B3=BB=E7=BB=9F=E3=80=91=20<-?= =?UTF-8?q?=E5=90=8E=E7=AB=AF->=20=E3=80=90=E7=8E=A9=E5=AE=B6=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E3=80=91=E5=82=A8=E9=92=B1=E7=BD=90=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E6=9C=AA=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comm/const.go | 1 + modules/user/module.go | 1 + 2 files changed, 2 insertions(+) diff --git a/comm/const.go b/comm/const.go index 347dea09a..947093777 100644 --- a/comm/const.go +++ b/comm/const.go @@ -533,6 +533,7 @@ const ( Merchantmoney = "merchantmoney" //商队虚拟币 Integral = "integral" //充值积分 Profit = "profit" + Deposit = "deposit" ) const ( Gold int32 = 1 //金币 diff --git a/modules/user/module.go b/modules/user/module.go index 62d812b17..fb94a58fd 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -697,6 +697,7 @@ func (this *User) change(session comm.IUserSession, attr string, add int32) (cha comm.Merchantmoney: change.Merchantmoney, comm.Integral: change.Integral, comm.Profit: change.Profit, + comm.Deposit: change.Deposit, } //user ex