Commit f5eb3d19 authored by pete谢兆麟's avatar pete谢兆麟

微信登录接口修改

parent 1792406c
......@@ -147,7 +147,7 @@ extension YHLoginViewModel {
"testTimestamp":timestamp]
if phone.count != 0 {
params = ["union_id": unionId,
"mobile": phone,
"mobile": XXTEA.encryptString(toBase64String: phone, stringKey: "galaxyapps") ?? phone,
"sms_code": code,
"client": "super_app",
"mobile_area_code": "+" + countryCode,
......
......@@ -288,7 +288,7 @@ class YHAllApiName {
//登录
struct Auth {
static let login = "infoflow/auth/v2/login"
static let wxlogin = "infoflow/auth/wechat-login"
static let wxlogin = "infoflow/auth/v2/wechat-login"
static let oneKeyLogin = "infoflow/auth/native-login"
static let appleLogin = "infoflow/auth/v2/apple-login"
static let oneKeySecretKeyInfo = "infoflow/auth/sdk-info"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment