| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- import request from '@/utils/request'
- // 送水列表
- export function waterList(data) {
- return request({
- url: '/api/certificate/list',
- method: 'get',
- data
- });
- }
- // 送水详情
- export function waterDetail(data) {
- return request({
- url: '/api/certificate/detail/'+data.id,
- method: 'get',
- data
- });
- }
- // 获取商品二级分类
- export function category_layer(data) {
- return request({
- url: '/api/category_layer',
- method: 'get',
- data
- });
- }
- // 获取二级分类下商品
- export function category_goods(data) {
- return request({
- url: '/api/category_goods',
- method: 'get',
- data
- });
- }
- // 获取水票
- export function certificate(data) {
- return request({
- url: '/api/user/certificate',
- method: 'get',
- data
- });
- }
- // 水票使用记录
- export function use_certificate(data) {
- return request({
- url: '/api/user/use_certificate',
- method: 'get',
- data
- });
- }
- // 获取门店可用时间段
- export function storeday(data) {
- return request({
- url: '/api/order/storeday',
- method: 'get',
- data
- });
- }
- // 创建押桶订单
- export function createPledge(data) {
- return request({
- url: '/api/pledge/create',
- method: 'post',
- data
- });
- }
- //
- export function delPledge(data) {
- return request({
- url: '/api/pledge/refund',
- method: 'post',
- data
- });
- }
|