123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- import request from '@/utils/request'
- import {
- upFilse
- } from '@/utils/request'
- export function confirm(data) {
- return request({
- url: '/api/order/confirm',
- method: 'post',
- data
- });
- }
- export function couponsOrder(data, price) {
- return request({
- url: '/api/coupons/order/' + price,
- method: 'get',
- data
- });
- }
- export function getCouponsList(data, types) {
-
- return request({
- url: '/api/coupons/user/' + types,
- method: 'get',
- data
- });
- }
- export function order_comment(data) {
- return request({
- url: '/api/order/comment',
- method: 'post',
- data
- });
- }
- export function product(data) {
- return request({
- url: '/api/order/product',
- method: 'post',
- data
- });
- }
- export function express_query(data) {
- return request({
- url: '/api/order/express_query',
- method: 'get',
- data
- });
- }
- export function upload(data) {
- return upFilse({
- url: '/api/upload/image',
- method: 'post',
- data
- });
- }
- export function orderList(data) {
- return request({
- url: '/api/order/list',
- method: 'get',
- data
- });
- }
- export function orderDetail(data, orderid) {
- return request({
- url: '/api/order/detail/' + orderid,
- method: 'get',
- data
- });
- }
- export function orderCancel(data) {
- return request({
- url: '/api/order/cancel',
- method: 'post',
- data
- });
- }
- export function orderDel(data) {
- return request({
- url: '/api/order/del',
- method: 'get',
- data
- });
- }
- export function refund(data) {
- return request({
- url: '/api/order/refund/verify',
- method: 'post',
- data
- });
- }
- export function refundReason(data) {
- return request({
- url: '/api/order/refund/reason',
- method: 'get',
- data
- });
- }
- export function orderTake(data) {
- return request({
- url: '/api/order/take',
- method: 'post',
- data
- });
- }
- export function orderPay(data) {
- return request({
- url: '/api/order/pay',
- method: 'post',
- data
- });
- }
- export function createOrderkey(data, key) {
- return request({
- url: '/api/order/create/' + key,
- method: 'post',
- data
- });
- }
- export function computedOrderkey(data) {
- return request({
- url: '/api/order/computed/' + data.orderkey,
- method: 'post',
- data
- });
- }
- export function adopt(data) {
- return request({
- url: '/api/auction/adopt',
- method: 'post',
- data
- });
- }
- export function user_auction_order(data) {
- return request({
- url: '/api/auction/user_auction_order',
- method: 'get',
- data
- });
- }
- export function seller(data) {
- return request({
- url: '/api/auction/seller',
- method: 'get',
- data
- });
- }
- export function up_image(data) {
- return request({
- url: '/api/auction/up_image',
- method: 'post',
- data
- });
- }
- export function edit_voucher(data) {
- return request({
- url: '/api/edit_voucher',
- method: 'post',
- data
- });
- }
- export function cancel(data) {
- return request({
- url: '/api/auction/cancel',
- method: 'post',
- data
- });
- }
- export function untreated(data) {
- return request({
- url: '/api/auction/untreated',
- method: 'get',
- data
- });
- }
- export function plead(data) {
- return request({
- url: '/api/auction/plead',
- method: 'post',
- data
- });
- }
- export function revoke(data) {
- return request({
- url: '/api/auction/revoke',
- method: 'post',
- data
- });
- }
- export function time(data) {
- return request({
- url: '/api/time',
- method: 'get',
- data
- });
- }
|