mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-10-30 10:07:31 +08:00
修复商户后台的bugs,可正常运行
This commit is contained in:
@@ -28,7 +28,7 @@ func (c *History) ShowHistoryListUI() {
|
||||
ranMd5 := encrypt.EncodeMd5([]byte(pubMethod.RandomString(46)))
|
||||
c.Ctx.SetCookie(enum.UserCookie, ranMd5, enum.CookieExpireTime)
|
||||
c.Ctx.SetSecureCookie(ranMd5, enum.UserCookie, ranMd5, enum.CookieExpireTime)
|
||||
c.SetSession(enum.UserCookie, ranMd5)
|
||||
_ = c.SetSession(enum.UserCookie, ranMd5)
|
||||
|
||||
c.Data["payType"] = enum.GetHistoryStatus()
|
||||
c.Data["userName"] = u.MerchantName
|
||||
|
||||
@@ -98,7 +98,7 @@ func (c *Login) UserLogin() {
|
||||
|
||||
stopRun:
|
||||
c.Data["json"] = pubMethod.JsonFormat(flag, "", msg, url)
|
||||
c.ServeJSON()
|
||||
_ = c.ServeJSON()
|
||||
c.StopRun()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user