forked from stavyan/TinyShop-UniApp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic.js
More file actions
executable file
·75 lines (63 loc) · 1.79 KB
/
basic.js
File metadata and controls
executable file
·75 lines (63 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/**
*@des 公用基础
*@author stav [email protected]
*@blog https://stavtop.club
*@date 2019/11/19 14:56:57
*@param registerByPass
*/
// 获取省市区列表
const provinceList = '/tiny-shop/v1/common/provinces/index';
// 收藏商品
const collectCreate = '/tiny-shop/v1/common/collect/create';
// 删除收藏商品
const collectDel = '/tiny-shop/v1/common/collect/delete';
// 分享/转发
const transmitCreate = '/tiny-shop/v1/common/transmit/create';
// 广告
const advList = '/tiny-shop/v1/common/adv/index';
const advView = '/tiny-shop/v1/common/adv/view';
// 配置
const configList = '/tiny-shop/v1/common/config/index';
// 充值
const payCreate = '/tiny-shop/v1/common/pay/create';
// 充值配置
const wechatConfig = '/tiny-shop/v1/third-party/wechat-js-sdk';
// 公告
// 公告列表
const notifyAnnounceIndex = '/tiny-shop/v1/common/notify-announce/index';
// 公告详情
const notifyAnnounceView = '/tiny-shop/v1/common/notify-announce/view';
// 版本检测
const versionsIndex = '/app-versions/versions/index';
// 版本检测
const pickupPointIndex = '/tiny-shop/v1/common/pickup-point/index';
// 站点帮助-列表
const helperIndex = '/tiny-shop/v1/common/helper/index';
// 站点帮助-详情
const helperView = '/tiny-shop/v1/common/helper/view';
// 设备绑定(app推送)
const bindingEquipment = '/tiny-shop/v1/member/auth/binding-equipment';
// 查询绑定状态
const authIsBinding = '/tiny-shop/v1/member/auth/is-binding';
// 第三方绑定
const authCreate = '/tiny-shop/v1/member/auth/create';
export {
provinceList,
collectCreate,
collectDel,
transmitCreate,
advList,
advView,
payCreate,
configList,
wechatConfig,
notifyAnnounceIndex,
notifyAnnounceView,
versionsIndex,
pickupPointIndex,
helperIndex,
helperView,
bindingEquipment,
authIsBinding,
authCreate
};