11/08/2024 16:35:55
问题描述
请求后台接口报错 1002,less parm!missing params: xxx
错误请求示例:
URL:http://hktest.itop.tencent-cloud.net/v2/auth/verify_login?conn=&seq=&source=1&version=
回包:{"ret":1002,"msg":"less parm!missing params: gameid channelid sig os ts","seq":"1605670413-1898709769-021150-0029062981"}
问题原因
请求URL中缺少参数
解决方案
需参考 后台-请求URL 文档,将请求URL中缺少的参数补充完整。
修改后请求示例:
URL:http://hktest.itop.tencent-cloud.net/v2/auth/verify_login?channelid=2&conn=&gameid=12&os=2&seq=&source=1&ts=1605668008&version=&sig=4e8ac918d3d1327ecd3dd021fc54c1fe
回包:{"ret":0,"msg":"user is logged in.","seq":"1605670637-1932026121-013804-0031633903"}
Copyright © 2024 MSDK.
All rights reserved.
All rights reserved.