123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- import request from '@/utils/request'
- // 统计金额
- export function computedOrderkey(data) {
- return request({
- url: '/api/order/computed/'+data.orderkey,
- method: 'post',
- data
- });
- }
- // 创建订单
- export function createOrderkey(data,key) {
- return request({
- url: '/api/lave/create',
- 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
- });
- }
- //捐赠活动列表
- export function getProjectList(data) {
- return request({
- url: '/api/project/list',
- method: 'get',
- data
- })
- }
- //捐赠活动详情
- export function getProjectInfo(data) {
- return request({
- url: '/api/project/info',
- method: 'get',
- data
- })
- }
- //创建捐赠
- export function createProject(data) {
- return request({
- url: '/api/project/order_create',
- method: 'post',
- data
- })
- }
- // 获取物流方式
- export function getLogistics(data) {
- return request({
- url: '/api/project/logistics',
- method: 'get',
- data
- })
- }
- // 获取地址
- export function getAllArea(data) {
- return request({
- url: '/api/project/area',
- method: 'get',
- data
- })
- }
- // 获取所有物资
- export function getDonationInfo(data) {
- return request({
- url: '/api/project/Donation_info',
- method: 'get',
- data
- })
- }
- // 获取所有地址
- // export function getDonationInfo(data) {
- // return request({
- // url: '/api/project/Donation_info',
- // method: 'get',
- // data
- // })
- // }
- // 获取我的捐赠
- export function getMyorder(data) {
- return request({
- url: '/api/project/myorder',
- method: 'post',
- data
- })
- }
- //创建捐赠用户
- export function createUser(data) {
- return request({
- url: '/api/project/create_user',
- method: 'post',
- data
- })
- }
- //Project/all_order
- export function getAllOrder(data) {
- return request({
- url: '/api/project/all_order',
- method: 'post',
- data
- })
- }
- //PProject/user_list
- export function getUserList(data) {
- return request({
- url: '/api/project/user_list',
- method: 'get',
- data
- })
- }
- // export function getOrderInfo(data) {
- // return request({
- // url: '/api/project/order_info',
- // method: 'get',
- // data
- // })
- // }bill
- export function getBill(data) {
- return request({
- url: '/api/project/bill',
- method: 'post',
- data
- })
- }
- //Project/order_info
- export function getOrderInfo(data) {
- return request({
- url: '/api/project/order_info',
- method: 'get',
- data
- })
- }
- // user_list
- // export function getUserList(data) {
- // return request({
- // url: '/api/project/user_list',
- // method: 'get',
- // data
- // })
- // }
|