Commit 8d546a10 authored by 黄奎's avatar 黄奎

方法调整

parent 6981eb98
......@@ -566,6 +566,7 @@ namespace Mall.WebApi.Controllers.Education
/// </summary>
/// <returns></returns>
[HttpPost]
[AllowAnonymous]
[RateValve(Policy = Policy.Ip, Limit = 10, Duration = 60)]
public ApiResult GetEducationStartUpModel(object requestMsg)
{
......
......@@ -1175,12 +1175,20 @@ namespace Mall.WebApi.Controllers.User
/// </summary>
/// <returns></returns>
[HttpPost]
[AllowAnonymous]
public ApiResult GetAppletUserPageType()
{
var userInfo = AppletUserInfo;
if (userInfo != null && userInfo.UserId > 0)
{
return userModule.GetAppletUserPageType(userInfo);
}
else
{
return ApiResult.Success("", new { IsOpenSchool=0, UserPageType = 0 });
}
}
#endregion
#region 优惠券
......
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