123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- 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
- // })
- // }
- ///api/lave/create_sign
- export function createSign(data) {
- return request({
- url: '/api/lave/create_sign',
- method: 'post',
- data
- })
- }
- export function getPlan(data) {
- ///api/lave/plan_ls
- return request({
- url: '/api/lave/plan_lst',
- method: 'get',
- data
- })
- }
- export function getPlanInfo(data) {
- //lave/plan_info
- return request({
- url: '/api/lave/plan_info',
- method: 'get',
- data
- })
- }
- export function getMyPlan(data) {
- return request({
- url: '/api/lave/user_lst',
- method: 'get',
- data
- })
- }
- export function getInfo(data) {
- return request({
- url: '/api/lave/user_info',
- method: 'get',
- data
- })
- }
- //http://xns.igxys.com/api/lave/delete_sign
- export function qxyue(data) {
- return request({
- url: '/api/lave/delete_sign',
- method: 'get',
- data
- })
- }
|