|
@@ -124,7 +124,7 @@ namespace XYY.Api.Order.Controllers
|
|
|
{
|
|
|
var u = User.GetUserContent();
|
|
|
string userName = u.NiceName;
|
|
|
- if (!u.Roles.Contains("FBA末端重量修改")) { throw new Exception("抱歉,您无权限进行此操作!"); }
|
|
|
+ if (!u.Roles.Contains("FBA末端重量修改")&&!u.Roles.Contains("FBA末端修改")) { throw new Exception("抱歉,您无权限进行此操作!"); }
|
|
|
var file = filelist[0];
|
|
|
var result = await orderService.ImportFBAChannelOrder(file.OpenReadStream());
|
|
|
return Ok(result);
|