✨ 全局:默认暂时写死
This commit is contained in:
@@ -1,18 +1,6 @@
|
||||
import request from '@/sheep/request';
|
||||
|
||||
export default {
|
||||
// 系统初始化
|
||||
init: (templateId) =>
|
||||
request({
|
||||
url: 'init',
|
||||
params: {
|
||||
templateId,
|
||||
},
|
||||
custom: {
|
||||
showError: false,
|
||||
showLoading: false,
|
||||
},
|
||||
}),
|
||||
// 自定义页面
|
||||
page: (id) =>
|
||||
request({
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
import request2 from '@/sheep/request2';
|
||||
|
||||
export default {
|
||||
decorate: () =>
|
||||
request2({
|
||||
url: 'promotion/decorate/list?page=1',
|
||||
method: 'GET',
|
||||
}),
|
||||
spids: () =>
|
||||
request2({
|
||||
url: 'product/spu/page?recommendType=best&pageNo=1&pageSize=10',
|
||||
method: 'GET',
|
||||
}),
|
||||
};
|
||||
@@ -1,16 +1,6 @@
|
||||
import request from '@/sheep/request';
|
||||
|
||||
export default {
|
||||
// 预支付
|
||||
prepay: (data) =>
|
||||
request({
|
||||
url: 'pay/prepay',
|
||||
method: 'POST',
|
||||
data,
|
||||
custom: {
|
||||
loadingMsg: '支付中',
|
||||
},
|
||||
}),
|
||||
// 发起提现
|
||||
withdraw: {
|
||||
list: (params) =>
|
||||
|
||||
Reference in New Issue
Block a user