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
ac4d7f8b
Commit
ac4d7f8b
authored
Jul 23, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vip返佣接口调整
parent
7eea27bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
UserVipController.cs
Mall.WebApi/Controllers/User/UserVipController.cs
+5
-2
No files found.
Mall.WebApi/Controllers/User/UserVipController.cs
View file @
ac4d7f8b
...
...
@@ -168,6 +168,7 @@ namespace Mall.WebApi.Controllers.User
x
.
UserName
,
x
.
Money
,
x
.
GradeName
,
x
.
UserId
,
PayTimeStr
=
x
.
PayTime
.
HasValue
?
x
.
PayTime
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
,
CommissionList
=
x
.
CommissionList
.
Select
(
z
=>
new
{
...
...
@@ -199,7 +200,8 @@ namespace Mall.WebApi.Controllers.User
ExcelRows
=
new
List
<
ExcelColumn
>(
30
)
{
new
ExcelColumn
(
value
:
"序号"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"订单号"
)
{
CellWidth
=
25
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"购买用户"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"用户Id"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"用户名称"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"购买金额"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"等级名称"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"购买时间"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
...
...
@@ -231,6 +233,7 @@ namespace Mall.WebApi.Controllers.User
};
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
item
.
OrderNo
)
{
Rowspan
=
OCCount
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
item
.
UserId
.
ToString
())
{
Rowspan
=
OCCount
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
item
.
UserName
)
{
Rowspan
=
OCCount
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
(
item
.
Money
).
ToString
())
{
Rowspan
=
OCCount
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
item
.
GradeName
)
{
Rowspan
=
OCCount
});
...
...
@@ -250,7 +253,7 @@ namespace Mall.WebApi.Controllers.User
},
ColumnHight
=
30
};
for
(
var
i
=
0
;
i
<
5
;
i
++)
for
(
var
i
=
0
;
i
<
6
;
i
++)
{
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
}
...
...
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