1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- import request from "@/utils/request.js";
- //获取店铺分类
- export function store_cate(data) {
- return request({
- url: '/api/store/category',
- method: 'get',
- data
- });
- }
- //获取店铺列表
- export function getStoreList(data) {
- return request({
- url: '/api/store_list',
- method: 'get',
- data
- });
- }
- //获取店铺详情
- export function getStoreDetail(data, id) {
- return request({
- url: '/api/store_details/' + id,
- method: 'get',
- data
- });
- }
- // 获取优惠券详情
- export function getYhqDetail(data) {
- return request({
- url: '/api/coupon_datalis',
- method: 'get',
- data
- })
- }
- export function getGift(data) {
- return request({
- url: '/api/share',
- method: 'post',
- data
- })
- }
- // 地址逆解析/api/address
- export function getCity(data) {
- return request({
- url: '/api/address',
- method: 'get',
- data
- })
- }
- //兑换
- export function goDh(data) {
- return request({
- url: '/api/exchange',
- method: 'post',
- data
- })
- }
- //转赠
- export function gozz(data) {
- return request({
- url: '/api/donation',
- method: 'post',
- data
- })
- }
- // 发布优惠券
- export function storeCoupon(data) {
- return request({
- url: '/api/store_coupon',
- method: 'post',
- data
- })
- }
- // 充值记录
- export function order(data) {
- return request({
- url: '/api/shop/order',
- method: 'get',
- data
- })
- }
|