Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
ca52ab5f
Commit
ca52ab5f
authored
Jun 30, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
94d7ed62
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
StatisticsController.cs
...ebApi/Controllers/MarketingCenter/StatisticsController.cs
+3
-0
SupplierController.cs
Mall.WebApi/Controllers/User/SupplierController.cs
+2
-0
Startup.cs
Mall.WebApi/Startup.cs
+3
-1
No files found.
Mall.WebApi/Controllers/MarketingCenter/StatisticsController.cs
View file @
ca52ab5f
...
...
@@ -10,6 +10,7 @@ using System;
using
Mall.Common.Plugin
;
using
System.Collections.Generic
;
using
Mall.Module.User
;
using
Microsoft.AspNetCore.Authorization
;
namespace
Mall.WebApi.Controllers.MarketingCenter
{
...
...
@@ -324,6 +325,7 @@ namespace Mall.WebApi.Controllers.MarketingCenter
#
region
损益核算表
[
HttpPost
]
[
AllowAnonymous
]
public
ApiResult
GetOrderProfitLossList
()
{
var
parms
=
RequestParm
;
...
...
@@ -352,6 +354,7 @@ namespace Mall.WebApi.Controllers.MarketingCenter
/// </summary>
/// <returns></returns>
[
HttpPost
]
[
AllowAnonymous
]
public
FileContentResult
GetOrderProfitLossExcel
()
{
var
parms
=
RequestParm
;
...
...
Mall.WebApi/Controllers/User/SupplierController.cs
View file @
ca52ab5f
...
...
@@ -13,6 +13,7 @@ using Mall.Module.Finance;
using
Mall.Module.Product
;
using
Mall.Module.User
;
using
Mall.WebApi.Filter
;
using
Microsoft.AspNetCore.Authorization
;
using
Microsoft.AspNetCore.Cors
;
using
Microsoft.AspNetCore.Mvc
;
using
Newtonsoft.Json
;
...
...
@@ -187,6 +188,7 @@ namespace Mall.WebApi.Controllers.User
/// </summary>
/// <returns></returns>
[
HttpPost
]
[
AllowAnonymous
]
public
ApiResult
GetSupplierAllList
()
{
var
parms
=
RequestParm
;
...
...
Mall.WebApi/Startup.cs
View file @
ca52ab5f
...
...
@@ -55,7 +55,9 @@ namespace Mall.WebApi
"http://www.test.com:8081"
,
"http://yx.oytour.com"
,
"http://mall.oytour.com"
,
"http://testmall.oytour.com"
"http://testmall.oytour.com"
,
"http://yx.oytour.com"
,
};
services
.
AddCors
(
options
=>
options
.
AddPolicy
(
"AllowCors"
,
policy
=>
policy
.
AllowAnyHeader
().
AllowAnyMethod
().
AllowCredentials
().
WithOrigins
(
corsArray
.
ToArray
())));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment