Commit 15353fe4 authored by pete谢兆麟's avatar pete谢兆麟

微信第三方登录逻辑

parent 1c7cc75d
...@@ -140,7 +140,7 @@ extension YHLoginViewModel { ...@@ -140,7 +140,7 @@ extension YHLoginViewModel {
var params: [String : Any] = ["union_id": unionId, var params: [String : Any] = ["union_id": unionId,
"client": "super_app", "client": "super_app",
"testTimestamp":timestamp] "testTimestamp":timestamp]
if phone == "" { if phone.count != 0 {
params = ["union_id": unionId, params = ["union_id": unionId,
"mobile": phone, "mobile": phone,
"sms_code": code, "sms_code": code,
......
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