adjust
This commit is contained in:
parent
ab1a4fbd46
commit
d57cb8b161
@ -30,15 +30,10 @@ func (iga *InGameApi) PreOrder(c *gin.Context) {
|
||||
ErrorCode int32 `json:"errcode"`
|
||||
ErrMsg string `json:"errmsg"`
|
||||
OrderId string `json:"order_id"`
|
||||
}{}
|
||||
|
||||
if !f5.IsOnlineEnv() {
|
||||
c.JSON(200, rspObj)
|
||||
return
|
||||
}
|
||||
}{}
|
||||
|
||||
data, ret := iga.checkSessionData(c, reqJson.AccountId)
|
||||
if !ret {
|
||||
if !ret && f5.IsOnlineEnv() {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user