Files
yycea/uniapp/小程序代码/common/api/points.js
2026-03-17 09:56:06 +08:00

58 lines
1.7 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// +----------------------------------------------------------------------
// | 麦沃德科技赋能开发者,助力商协会发展
// +----------------------------------------------------------------------
// | Copyright (c) 20172024 www.wdsxh.cn All rights reserved.
// +----------------------------------------------------------------------
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
// +----------------------------------------------------------------------
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
// +----------------------------------------------------------------------
// | 积分商城接口列表文件 开发者: 麦沃德科技-半夏
// +----------------------------------------------------------------------
export default {
// 积分信息
info: {
url: '/api/wdsxh/points/my_points/index',
method: 'GET',
},
// 商品列表
goodsList: {
url: '/api/wdsxh/points/goods/index',
method: 'GET',
},
// 商品详情
goodsDetails: {
url: '/api/wdsxh/points/goods/detail',
method: 'GET',
},
// 订单创建
createOrder: {
url: '/api/wdsxh/points/order/submitSettlement',
auth: true,
method: 'POST',
},
// 订单列表
orderList: {
url: '/api/wdsxh/points/order/index',
auth: true,
method: 'GET',
},
// 订单详情
orderDetails: {
url: '/api/wdsxh/points/order/detail',
auth: true,
method: 'GET',
},
// 确认收货
orderConfirm: {
url: '/api/wdsxh/points/order/confirmReceipt',
auth: true,
method: 'POST',
},
// 积分明细
record: {
url: '/api/wdsxh/points/user_wechat_points_log/index',
method: 'GET',
},
};