分类先去掉验证信息
parent
41da580f57
commit
00e26af1fb
|
|
@ -1,4 +1,5 @@
|
|||
using Infrastructure;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using OpenAuth.App;
|
||||
using OpenAuth.Repository.Domain;
|
||||
|
|
@ -27,7 +28,8 @@ namespace OpenAuth.WebApi.Controllers
|
|||
/// <param name="code">分类编号</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public async Task<Response<List<SysDataItemDetail>>> Load(string code,string key)
|
||||
[AllowAnonymous]
|
||||
public async Task<Response<List<SysDataItemDetail>>> Load(string code, string key)
|
||||
{
|
||||
var list = await dataItemDetailApp.Load(code, key);
|
||||
return new Response<List<SysDataItemDetail>>
|
||||
|
|
@ -47,7 +49,7 @@ namespace OpenAuth.WebApi.Controllers
|
|||
[HttpGet]
|
||||
public async Task<Response<List<SysDataItemDetail>>> LoadWithPid(string code, string key, string pid)
|
||||
{
|
||||
var list = await dataItemDetailApp.LoadWithPid(code, key,pid);
|
||||
var list = await dataItemDetailApp.LoadWithPid(code, key, pid);
|
||||
return new Response<List<SysDataItemDetail>>
|
||||
{
|
||||
Result = list,
|
||||
|
|
|
|||
Loading…
Reference in New Issue