✨ feat(后台): 37sdk需求

This commit is contained in:
luying
2022-11-25 17:18:38 +08:00
parent 594a8ce96d
commit 76633e67a6
9 changed files with 99 additions and 9 deletions
+8
View File
@@ -69,6 +69,14 @@ export function get37GetServerMd5Sign(body: GetServerListParam, key: string) {
return sign
}
export function get37BackendMd5Sign(body: {uname: string, time: number}, key: string) {
let { uname, time } = body;
let str = `${uname}${time}${key}`;
let sign = md5(str);
console.log('** origin str', body, str, sign);
return sign
}
export async function loginValidate37(clientId: string, pst: string, platform: string, platformAppid: string, childGameId: number = SDK_37_CONST.FX_C_GAME_ID) {
if(!platformAppid) {
if(platform == 'android') {