Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
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
bp
op-web-service
Commits
eeaa798c
Commit
eeaa798c
authored
Nov 03, 2021
by
顾文旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单导出 fix
parent
b3144de6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
groupmeal.js
src/service/Groupmeal/groupmeal.js
+6
-6
No files found.
src/service/Groupmeal/groupmeal.js
View file @
eeaa798c
...
@@ -197,10 +197,10 @@ export async function newOrderRefundReject(params) {
...
@@ -197,10 +197,10 @@ export async function newOrderRefundReject(params) {
// 导出订单
// 导出订单
export
function
newGetOrderExportURL
(
eventId
,
type
)
{
export
function
newGetOrderExportURL
(
eventId
,
type
)
{
if
(
process
.
env
.
NODE_ENV
===
"development"
)
{
//
if (process.env.NODE_ENV === "development") {
return
`http://127.0.0.1:8055/api/v1/relay/order_export?marketing_id=
${
eventId
}
&type=
${
type
}
`
;
//
return `http://127.0.0.1:8055/api/v1/relay/order_export?marketing_id=${eventId}&type=${type}`;
}
else
{
//
} else {
return
`/api/v1/relay/order_export?marketing_id=
${
eventId
}
&type=
${
type
}
`
;
//
return `/api/v1/relay/order_export?marketing_id=${eventId}&type=${type}`;
}
//
}
//
return `/api/v1/relay/order_export?marketing_id=${eventId}&type=${type}`;
return
`/api/v1/relay/order_export?marketing_id=
${
eventId
}
&type=
${
type
}
`
;
}
}
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