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

页面修改

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