sysBase.js
2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/*
* @Author: limin
* @Date: 2019-08-26 18:02:55
* @Last Modified by: chenwq
* @Last Modified time: 2021-06-07 16:30:53
*/
import { http } from '@/main'
// import RequestMethods from "./request.methods"
// export const BASE_DATA_URL = "fims.configuration.from.conftype"
const path = "dj.api."
// // 获取商品分类列表
// export function getProductType(data) {
// data.method = `${path}goods.type.list`
// return request(data)
// }
// 获取不同场景的商品分类
const getGoodsCategoryConfiguration = (params) => {
params.currentPage = 1
params.pageSize = 999999
params.method = `${path}goodsCategoryConfiguration.page`
return http({
url: 'rop-dj-smartcarlife/router',
method: 'POST',
data: params,
sign: true
})
}
// // 获取渠道列表
// export function getChannelType(data) {
// data.method = `${path}channel.type.list`
// return request(data)
// }
// // 图片上传
// export function uploadImg(data) {
// data.method = `${path}common.uploadImg`
// return request(data, RequestMethods.POST, ["file"])
// }
// // 图片识别
// export function imgRecognitionApi(data) {
// data.method = `${path}common.ocr.recognition`
// return request(data, RequestMethods.POST)
// }
// // 银行列表
// export function getBankListApi(data) {
// data.method = `${path}yseBankInfo.bankList`
// return request(data, RequestMethods.POST)
// }
// // 银行列表-支行
// export function getYseBankListApi(data) {
// data.method = `${path}yseBankInfo.listWithPage`
// return request(data, RequestMethods.POST)
// }
// // 给指定号码发送验证码
// export function sendToSmsCodeApi(data) {
// data.method = `${path}smartcarlife.sms.sendSmsCode`
// return request(data, RequestMethods.POST)
// }
// // 获取配置列表
// export function commonConfigApi(data) {
// data.method = `${path}common.config.list`
// return request(data, RequestMethods.POST)
// }
// // Excel异步导出
// export function asyncExportExcel(data) {
// data.method = `${path}common.async.exportExcel`
// return request(data, RequestMethods.POST)
// }
// // 获取Excel异步导出查询导出结果
// export function exportExcel(data) {
// data.method = `${path}common.query.async.exportExcel`
// return request(data, RequestMethods.POST)
// }
// // 视频上传
// export function uploadVideo(data) {
// data.method = `${path}smartcarlife.common.uploadVideo`
// return request(data, RequestMethods.POST, ["file"])
// }
// // 类目列表获取
// export function queryFeeCategoryByType(data) {
// data.method = `${path}smartcarlife.feeCategory.queryFeeCategoryByType`
// return request(data, RequestMethods.POST)
// }
// // 2.0场景 素材可选的服务项目
// export function getProductServiceItems(data) {
// data.method = `dj.api.smartcarlife.vd.item.list.single`
// return request(data)
// }
export default { getGoodsCategoryConfiguration }