Browse Source

修复userId读取bug

AddValidOverTime
shanji 2 years ago
parent
commit
c314a8aff1
  1. 2
      BBWY.Server.API/Controllers/BatchPurchaseController.cs

2
BBWY.Server.API/Controllers/BatchPurchaseController.cs

@ -2,6 +2,7 @@
using BBWY.Server.Business;
using BBWY.Server.Model.Dto;
using Jd.Api.Request;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
@ -11,6 +12,7 @@ using System.Collections.Generic;
namespace BBWY.Server.API.Controllers
{
[Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)]
public class BatchPurchaseController : BaseApiController
{
private BatchPurchaseBusiness batchPurchaseBusiness;

Loading…
Cancel
Save