每日自动提交 2026-04-09 18:30

This commit is contained in:
2026-04-09 18:30:42 +08:00
parent 377892e989
commit e29141b4ae
99 changed files with 13595 additions and 2444 deletions
File diff suppressed because it is too large Load Diff
+1
View File
@@ -83,6 +83,7 @@ namespace Assets.MyGame.Scripts.Net
dic_API[APIType.Login_SendMobileCode] = "/api/Login/SendMobileCode";
dic_API[APIType.Login_LoginWx] = "/api/Login/LoginWx";
dic_API[APIType.Login_Login] = "/api/Login/Login";
dic_API[APIType.Login_ResetPassWord] = "/api/Login/ResetPassword";
// ---------------- Notice ----------------
dic_API[APIType.Notice_Add] = "/api/Notice/add";
@@ -31,6 +31,6 @@ namespace Assets.MyGame.Scripts.Net.APIRequest.Objs
///真实名字
///</summary>
public string realName;
public string iuDCard;
public string iDCard;
}
}
@@ -0,0 +1,24 @@
using System;
namespace Assets.MyGame.Scripts.Net.APIRequest.Params
{
/// <summary>
/// 登录接口请求参数(GET)
/// </summary>
[Serializable]
public class ReSetPassWordParam : RequestParamBase
{
/// <summary>
/// 用户手机号
/// </summary>
public string mobile;
public string password;
/// <summary>
/// 验证码
/// </summary>
public string code;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9094696bd37edc840b9e4add45136963
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,20 @@
using System;
namespace Assets.MyGame.Scripts.Net.APIRequest.Params
{
/// <summary>
/// 登录接口请求参数(GET)
/// </summary>
[Serializable]
public class YZMParam : RequestParamBase
{
/// <summary>
/// 验证码
/// </summary>
public string mobile;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 82940f785142caf4b8cc997663920318
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -90,6 +90,26 @@ res =>
callback?.Invoke(obj);
});
}
/// <summary>
/// 更改密码(Get)
/// </summary>
public static void ResetPassword(ReSetPassWordParam req, Action<string> callback)
{
APIManager.Response<string>(APIType.Login_ResetPassWord, req, obj =>
{
callback?.Invoke(obj);
});
}
/// <summary>
/// 获取验证码(Get)
/// </summary>
public static void YZM(YZMParam req, Action<string> callback)
{
APIManager.Response<string>(APIType.Login_SendMobileCode, req, obj =>
{
callback?.Invoke(obj);
});
}
#endregion
+2
View File
@@ -170,6 +170,8 @@
/// <summary>用户登录(GET)</summary>
Login_Login,
/// <summary>用户登录(GET)</summary>
Login_ResetPassWord,
// ---------------- Notice ----------------
+24
View File
@@ -146,6 +146,7 @@ GameObject:
- component: {fileID: 5906154763923034694}
- component: {fileID: 4157826458431261933}
- component: {fileID: 7104341906146201700}
- component: {fileID: 7915901601355243523}
m_Layer: 5
m_Name: BoardCarst
m_TagString: Untagged
@@ -211,3 +212,26 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!223 &7915901601355243523
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2654078965480511721}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 2
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 0
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 32767
m_TargetDisplay: 0
File diff suppressed because it is too large Load Diff
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b1e9b0d2e27a3e844bd237cbec420e8e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,14 @@
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class EmalItem : MonoBehaviour
{
public UIHome_BY_EmailPanel _BY_EmailPanel;
public TextMeshProUGUI tMP_Header;
public TextMeshProUGUI tMP_Time;
public GameObject obj_Yellow;
public GameObject obj_LingQu;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9bb94c3056700ab4baaaa0f25d1249c1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PropItem : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fdd9931368f9b38448ebd590ef061761
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,19 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class UIHome_BY_EmailPanel : SubUIBase
{
public TMPAutoResize mPAutoResize;
// Start is called before the first frame update
void Start()
{
mPAutoResize.UpdateText("内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)内容内容内容内容内容内容内容内容内容内容内容内容内容 (1)《》】【】【】、‘、’、‘、|、、’、‘、;’:“:”“|:》?《》?《。,、。,|”:|“:;‘、{}【】/*-+\r\n ");
}
public TextMeshProUGUI tMPText_Header;
public TextMeshProUGUI tMPText_Content;
public Button btn_Receive;
public Button btn_Dlete;
public Button btn_AllDlete;
public Button btn_AllReceive;
public EmalItem itemPrefab;
public GameObject propPrefab;
// Update is called once per frame
void Update()
{
}
}
@@ -518,6 +518,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1412243104662901224}
- component: {fileID: 1545316901807472633}
m_Layer: 5
m_Name: HideSelect_2
m_TagString: Untagged
@@ -545,6 +546,29 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &1545316901807472633
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4034441264448666145}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 2
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 1
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 0
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 10
m_TargetDisplay: 0
--- !u!1 &4412352373053693238
GameObject:
m_ObjectHideFlags: 0
@@ -1544,7 +1544,7 @@ RectTransform:
m_GameObject: {fileID: 7493491588906173237}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 3942917547516488702}
@@ -1675,8 +1675,8 @@ RectTransform:
m_GameObject: {fileID: 8105330735400167053}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 6478804453708968819}
- {fileID: 9115160572181082640}
@@ -1,4 +1,6 @@
using System.Collections;
using Assets.MyGame.Scripts.Net;
using Assets.MyGame.Scripts.Net.APIRequest.Params;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
@@ -18,14 +20,34 @@ public class ReSetPassword : SubUIBase
public Button btn_YZM;
public Button btn_ReSetPassWord;
// Start is called before the first frame update
void Start()
public override void Awake()
{
}
base.Awake();
btn_YZM.onClick.AddListener(() =>
{
APIRequestList.YZM(new YZMParam
{
mobile = tMPInput_PhoneNumber.text
}, (a) =>
{
// Update is called once per frame
void Update()
{
UIManager.Instance.ShowBoardError(a);
});
});
btn_ReSetPassWord.onClick.AddListener(() =>
{
APIRequestList.ResetPassword(new ReSetPassWordParam
{
code = tMPInput_YZM.text,
mobile = tMPInput_UserName.text,
password = tMPInput_Password.text
}, (a) =>
{
UIManager.Instance.ShowBoardError(a);
uIManager.Close(UIPanel.ResetPasswordPanel);
});
});
}
}
@@ -366,7 +366,7 @@ RectTransform:
m_GameObject: {fileID: 1752742727371033859}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 1147650991602858451}
@@ -3363,7 +3363,7 @@ RectTransform:
m_GameObject: {fileID: 6917700599025409228}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 8014672847010960323}
@@ -26,7 +26,7 @@ public class RegisterPanel : SubUIBase
mobile = tMPInput_UserName.text,
passWord = tMPInput_Password.text,
realName = tMPInput_SFZName.text,
iuDCard = tMPInput_SFZID.text
iDCard = tMPInput_SFZID.text
}, usertoke =>
{
WebSocketManager.Instance.Connect(SocketType.login);
@@ -55,6 +55,7 @@ public class UILoginPanel : UIBase
public void Succeed()
{
uIManager.CloseAll();
loginParent.SetActive(false);
loadingParent.SetActive(true);
//这里要跳转到具体的登录界面