1
This commit is contained in:
parent
89e94a8557
commit
df8bab6b7d
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"secret_key": "520d8eAbB(8cf1^#$^&!@d833a42c820432PDAFE^^)",
|
"secret_key": "520d8eAbB(8cf1^#$^&!@d833a42c820432PDAFE^^)",
|
||||||
"gameapi_url": "https://game2006api-test.kingsome.cn",
|
"gameapi_url": "https://game2006sapi-test.kingsome.cn",
|
||||||
"gm_open": 1,
|
"gm_open": 1,
|
||||||
"gm_secret_key": "Pu6bxRKiS^@pUQdAC!RHMTY^srV5V^4&fqgUs1HjM*LI1sABQDQemU^Mh!55"
|
"gm_secret_key": "Pu6bxRKiS^@pUQdAC!RHMTY^srV5V^4&fqgUs1HjM*LI1sABQDQemU^Mh!55"
|
||||||
}
|
}
|
||||||
|
@ -122,12 +122,12 @@ func (this *player) GetAttachment(mails []common.Mail, c *gin.Context) {
|
|||||||
cbParamsStr := q5.EncodeJson(&cbParams)
|
cbParamsStr := q5.EncodeJson(&cbParams)
|
||||||
signStr := q5.Md5Str(cbParamsStr + mt.Table.Config.GetSecretKey() + q5.ToString(nowTime))
|
signStr := q5.Md5Str(cbParamsStr + mt.Table.Config.GetSecretKey() + q5.ToString(nowTime))
|
||||||
f5.GetHttpCliMgr().SendGoStyleJsonRspPost(
|
f5.GetHttpCliMgr().SendGoStyleJsonRspPost(
|
||||||
mt.Table.Config.GetGameApiUrl() + "/webapp/index.php?",
|
mt.Table.Config.GetGameApiUrl() + "/sapi/webapp/index.php?",
|
||||||
map[string]string{
|
map[string]string{
|
||||||
"account_id": accountId,
|
"account_id": accountId,
|
||||||
"session_id": sessionId,
|
"session_id": sessionId,
|
||||||
"c": "Mail",
|
"c": "Mail",
|
||||||
"a": "getAttachmentCb",
|
"a": "getAttachmentCbS",
|
||||||
"sign": signStr,
|
"sign": signStr,
|
||||||
"timestamp": q5.ToString(nowTime),
|
"timestamp": q5.ToString(nowTime),
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user