小调整
This commit is contained in:
1 parent
a7ea02f70a
commit
53ec9c60ac
10 files changed
+42
-73
No files matched your search
@@ -796,9 +796,9 @@ public class LoginController : MonoBehaviour
|
||||
/// <summary>
|
||||
/// 去最后一页准备进入主场景
|
||||
/// </summary>
|
||||
async void goRegEnd()
|
||||
void goRegEnd()
|
||||
{
|
||||
if (!await UpdateInfo()) return;
|
||||
if (!UpdateInfo()) return;
|
||||
if (pageNums == 5)
|
||||
{
|
||||
this.StartScrollPanel(4);
|
||||
@@ -839,7 +839,7 @@ public class LoginController : MonoBehaviour
|
||||
/// 注册页2 修改信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
async Task<bool> UpdateInfo()
|
||||
bool UpdateInfo()
|
||||
{
|
||||
if (userResult == null) return false;
|
||||
var _days = signForm.days.GetComponent<PFUIDropdown>();
|
||||
@@ -874,7 +874,7 @@ public class LoginController : MonoBehaviour
|
||||
{
|
||||
userResult.Nickname = userResult.Phone;
|
||||
}
|
||||
var r = await ConfigHelper.userApi.Update(userResult);
|
||||
var r = ConfigHelper.userApi.Update(userResult);
|
||||
return r.result;
|
||||
//userResult.Birthday.v
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user