mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-09-17 22:09:14 +08:00
添加游戏充值商户后台代码
This commit is contained in:
@@ -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"] = "史蒂芬-库里"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user