🐞 fix(共鸣): 接口优化

This commit is contained in:
zhangxk
2023-10-20 20:24:14 +08:00
parent 9644ea69c3
commit 4ef6e558d2
4 changed files with 109 additions and 134 deletions

View File

@@ -13,7 +13,7 @@ export class Client {
private ENCRYPT_KEY = 'fiqaxijabbantusmprc234fj';
private serverId = 1;
constructor(tel: string = '13636354764') {
constructor(tel: string = '18165059853') {
const param = {tel, deviceId: genCode(10), code: '', platform: 'ios', pkgName: 'com.bantu.zyz', serverType: 'dev'};
const paramStr = this.aesEncrypt(JSON.stringify(param), this.ENCRYPT_KEY, this.ENCRYPT_IV);
request.post('http://127.0.0.1:7001/user/smslogin', {