添加游戏充值商户后台代码

This commit is contained in:
kongyuebin
2021-05-16 15:21:52 +08:00
parent a56fa52493
commit 8bd7067c2f
35 changed files with 1921 additions and 246 deletions

View File

@@ -1,7 +1,7 @@
package base
import (
"github.com/astaxie/beego/logs"
"github.com/beego/beego/v2/core/logs"
"github.com/beego/beego/v2/server/web"
"legend/models/fast"
)
@@ -21,8 +21,8 @@ func (c *BasicController) Prepare() {
userInfo := fast.GetMerchantInfoByUserName(userName)
if userInfo.LoginAccount != "" {
c.Data["nickName"] = userInfo.MerchantName
c.Data["merchantUid"] = userInfo.MerchantUid
}
} else {
c.Data["nickName"] = "史蒂芬-库里"
}
}