Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
60ee1d0a
Commit
60ee1d0a
authored
Aug 04, 2021
by
王苓芝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务地址修改
parent
ab478116
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
services.js
src/pages/afterSale/appeal/services.js
+4
-10
No files found.
src/pages/afterSale/appeal/services.js
View file @
60ee1d0a
import
{
stringify
}
from
'
querystring
'
;
import
_
from
'
lodash
'
;
import
request
from
'
@/utils/request
'
;
//
import config from '../../../../config/env.config';
import
config
from
'
../../../../config/env.config
'
;
export
async
function
query
(
param
)
{
const
params
=
{
...
...
@@ -9,9 +9,7 @@ export async function query(param) {
pageNo
:
param
.
current
,
};
const
data
=
await
request
.
post
(
'
/api/kdsp/op/appeal/list
'
,
{
// prefix: 'http://yapi.quantgroups.com/mock/351',
// prefix: config.kdspApi,
prefix
:
'
https://kdsp-operation-test2.liangkebang.net
'
,
prefix
:
config
.
kdspOpApi
,
data
:
stringify
(
_
.
omitBy
(
params
,
v
=>
!
v
)),
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
,
...
...
@@ -25,9 +23,7 @@ export async function query(param) {
export
async
function
getDetail
(
params
)
{
const
{
data
}
=
await
request
.
post
(
'
/api/kdsp/op/appeal/info
'
,
{
data
:
stringify
(
_
.
omitBy
(
params
,
v
=>
!
v
)),
// prefix: config.kdspApi,
prefix
:
'
https://kdsp-operation-test2.liangkebang.net
'
,
// prefix: 'http://yapi.quantgroups.com/mock/351',
prefix
:
config
.
kdspOpApi
,
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
,
},
...
...
@@ -38,9 +34,7 @@ export async function getDetail(params) {
export
async
function
audit
(
params
)
{
const
data
=
await
request
.
post
(
'
/api/kdsp/op/appeal/audit
'
,
{
data
:
stringify
(
params
),
// prefix: config.kdspApi,
prefix
:
'
https://kdsp-operation-test2.liangkebang.net
'
,
// prefix: 'http://yapi.quantgroups.com/mock/351',
prefix
:
config
.
kdspOpApi
,
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
,
},
...
...
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