import { get, post } from '@/utils/request.js'
|
|
// 品类列表
|
export function categoryList(data) {
|
return post('business/category/saasList', data)
|
}
|
|
// 商品列表
|
export function goodsList(data) {
|
return post('business/goods/list', data)
|
}
|
|
// 商品列表分页
|
export function goodsPage(data) {
|
return post('business/goods/goodsPage', data)
|
}
|
|
// 商品列表不分页
|
export function listForH5(data) {
|
return post('business/goods/listForH5', data)
|
}
|
|
// 品牌列表查询
|
export function brandList(data) {
|
return post('business/brand/list', data)
|
}
|
|
// 获取H5首页图
|
export function h5Image(data) {
|
return post('business/goods/h5Image', data)
|
}
|
|
// 登录
|
export function loginH5(data){
|
return post('system/loginH5', data)
|
}
|
|
// 获取当前登录企业配置信息
|
export function getByLogin() {
|
return get('business/webParam/getByLogin')
|
}
|
|
// 取当前登录的用户信息
|
export function getUserInfo() {
|
return get('system/getUserInfo')
|
}
|
|
// 退出登录
|
export function logout(data){
|
return post('system/logout', data)
|
}
|
|
// 获取当前登录企业配置信息1.0.2
|
export function getByLoginNew() {
|
return get('business/webParam/getByLoginNew')
|
}
|