Commit 1f3ce505 authored by 黄奎's avatar 黄奎

页面修改

parent f57a49b1
...@@ -17,6 +17,7 @@ using Microsoft.AspNetCore.Authorization; ...@@ -17,6 +17,7 @@ using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
namespace Edu.WebApi.Controllers.User namespace Edu.WebApi.Controllers.User
{ {
...@@ -40,9 +41,11 @@ namespace Edu.WebApi.Controllers.User ...@@ -40,9 +41,11 @@ namespace Edu.WebApi.Controllers.User
[AllowAnonymous] [AllowAnonymous]
public ApiResult Login() public ApiResult Login()
{ {
string account = base.ParmJObj.GetStringValue("Account"); JObject jobj = JObject.Parse(RequestParm.Msg.ToString());
string password = base.ParmJObj.GetStringValue("Password");
int accountType = base.ParmJObj.GetInt("AccountType", 1); string account = jobj.GetStringValue("Account");
string password = jobj.GetStringValue("Password");
int accountType = jobj.GetInt("AccountType", 1);
var model = accountModule.GetAccountListExtModule(new RB_Account_ViewModel() var model = accountModule.GetAccountListExtModule(new RB_Account_ViewModel()
{ {
Account = account.Trim(), Account = account.Trim(),
......
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