1234567891011121314151617181920212223242526272829303132333435363738 |
- import request from '@/utils/request'
- // 统计金额
- export function computedOrderkey(data,orderkey) {
- return request({
- url: '/api/order/computed/'+orderkey,
- method: 'post',
- data
- });
- }
- // 创建订单
- export function createOrderkey(data,key) {
- return request({
- url: '/api/order/create/'+key,
- method: 'post',
- data
- });
- }
- // 账户余额
- export function balance(data) {
- return request({
- url: '/api/user/balance',
- method: 'get',
- data
- });
- }
- // 订单支付
- export function orderPay(data) {
- return request({
- url: '/api/order/pay',
- method: 'post',
- data
- });
- }
|