✨ feat(后台): 37sdk需求
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user