1 Star 0 Fork 351

manmade/mall-applet

forked from 商城/mall-applet 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
api.tpl.js 3.60 KB
一键复制 编辑 原始数据 按行查看 历史
shenzhuan 提交于 2019-03-05 09:35 . 小程序
var _api_root = '{$_api_root}';
var api = {
index: _api_root + 'default/index',
default: {
store: _api_root + 'default/store',
index: _api_root + 'default/index',
goods_list: _api_root + 'default/goods-list',
cat_list: _api_root + 'default/cat-list',
goods: _api_root + 'default/goods',
district: _api_root + 'default/district',
goods_attr_info: _api_root + "default/goods-attr-info",
upload_image: _api_root + "default/upload-image",
comment_list: _api_root + "default/comment-list",
article_list: _api_root + "default/article-list",
article_detail: _api_root + "default/article-detail",
video_list: _api_root + "default/video-list",
goods_qrcode: _api_root + "default/goods-qrcode",
coupon_list: _api_root + "default/coupon-list",
topic_list: _api_root + "default/topic-list",
topic: _api_root + "default/topic",
},
cart: {
list: _api_root + 'cart/list',
add_cart: _api_root + 'cart/add-cart',
delete: _api_root + 'cart/delete',
},
passport: {
login: _api_root + 'passport/login',
on_login: _api_root + 'passport/on-login',
},
order: {
submit_preview: _api_root + 'order/submit-preview',
submit: _api_root + 'order/submit',
pay_data: _api_root + 'order/pay-data',
list: _api_root + 'order/list',
revoke: _api_root + 'order/revoke',
confirm: _api_root + 'order/confirm',
count_data: _api_root + 'order/count-data',
detail: _api_root + 'order/detail',
refund_preview: _api_root + 'order/refund-preview',
refund: _api_root + 'order/refund',
refund_detail: _api_root + 'order/refund-detail',
comment_preview: _api_root + 'order/comment-preview',
comment: _api_root + 'order/comment',
express_detail: _api_root + 'order/express-detail',
clerk: _api_root + "order/clerk",
clerk_detail: _api_root + 'order/clerk-detail',
get_qrcode: _api_root + 'order/get-qrcode',
},
user: {
address_list: _api_root + 'user/address-list',
address_detail: _api_root + 'user/address-detail',
address_save: _api_root + 'user/address-save',
address_set_default: _api_root + 'user/address-set-default',
address_delete: _api_root + 'user/address-delete',
save_form_id: _api_root + "user/save-form-id",
favorite_add: _api_root + "user/favorite-add",
favorite_remove: _api_root + "user/favorite-remove",
favorite_list: _api_root + "user/favorite-list",
index: _api_root + "user/index",
wechat_district: _api_root + "user/wechat-district",
add_wechat_address: _api_root + "user/add-wechat-address",
topic_favorite: _api_root + "user/topic-favorite",
topic_favorite_list: _api_root + "user/topic-favorite-list",
},
share: {
join: _api_root + 'share/join',
check: _api_root + 'share/check',
get_info: _api_root + 'share/get-info',
get_price: _api_root + 'share/get-price',
apply: _api_root + 'share/apply',
cash_detail: _api_root + 'share/cash-detail',
get_qrcode: _api_root + 'share/get-qrcode',
shop_share: _api_root + 'share/shop-share',
bind_parent: _api_root + 'share/bind-parent',
get_team: _api_root + 'share/get-team',
get_order: _api_root + 'share/get-order',
},
coupon: {
index: _api_root + 'coupon/index',
share_send: _api_root + 'coupon/share-send',
receive: _api_root + 'coupon/receive',
},
};
module.exports = api;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
微信
1
https://gitee.com/490785184/mall-applet.git
git@gitee.com:490785184/mall-applet.git
490785184
mall-applet
mall-applet
master

搜索帮助