You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
835 B
26 lines
835 B
import http from '../utils/http/index.js'
|
|
|
|
/**
|
|
* 获取店铺信息
|
|
* @param {object} data 参数
|
|
* @returns {Promise<object[]>}
|
|
* swagger:http://api-ops-yyt-test.qniao.cn/base-paper-trading/swagger-ui/index.html?urls.primaryName=CustomerApi#/
|
|
*/
|
|
export const getCustomer = (data = {}) => {
|
|
return http.get({
|
|
url: '/base-paper-trading/get/store-detail/for/customer',
|
|
data
|
|
})
|
|
}
|
|
/**
|
|
* 获取店铺纸品列表
|
|
* @param {object} data 参数
|
|
* @returns {Promise<object[]>}
|
|
* swagger: http://api-ops-yyt-test.qniao.cn//base-paper-trading/swagger-ui/index.html?urls.primaryName=CustomerApi#/%E5%95%86%E5%93%81%E7%AE%A1%E7%90%86/getStoreProductListForCustomerUsingGET
|
|
*/
|
|
export const getPaperList = (data = {}) => {
|
|
return http.get({
|
|
url: '/base-paper-trading/get/store/product-list/for/customer',
|
|
data
|
|
})
|
|
}
|