初步增加获取用户手机号码api
This commit is contained in:
@@ -14,6 +14,7 @@ using NewLife.Log;
|
||||
using static COMCMS.Web.Models.APIModels;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Senparc.Weixin.WxOpen;
|
||||
|
||||
namespace COMCMS.Web.Controllers.api
|
||||
{
|
||||
@@ -190,6 +191,15 @@ namespace COMCMS.Web.Controllers.api
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 同步获取用户手机号码
|
||||
[HttpGet]
|
||||
public object SyncUserTel(string encryptedData, string iv, string random = "", string timeStamp = "", string signature = "")
|
||||
{
|
||||
//Senparc.Weixin.WxOpen.Helpers.EncryptHelper.DecryptPhoneNumber()
|
||||
return new ReJson(0, "同步电话号码成功!");
|
||||
}
|
||||
#endregion
|
||||
|
||||
//#region 测试
|
||||
//[HttpGet]
|
||||
//public object Test()
|
||||
|
||||
Reference in New Issue
Block a user