This repository has been archived by the owner on May 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
urls.go
179 lines (151 loc) Β· 7.05 KB
/
urls.go
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
package shopeego
var availablePaths map[string]string = map[string]string{
//=======================================================
// Shop
//=======================================================
"GetShopInfo": "shop/get",
"UpdateShopInfo": "shop/update",
"Performance": "shop/performance",
"SetShopInstallmentStatus": "shop/set_installment_status",
"AuthPartner": "shop/auth_partner",
//=======================================================
// ShopCategory
//=======================================================
"AddShopCategory": "shop_category/add",
"GetShopCategories": "shop_categorys/get",
"DeleteShopCategory": "shop_category/delete",
"UpdateShopCategory": "shop_category/update",
"AddItems": "shop_category/add/items",
"GetItems": "shop_category/get/items",
"DeleteItems": "shop_category/del/items",
//=======================================================
// Item
//=======================================================
"GetCategories": "item/categories/get",
"GetAttributes": "item/attributes/get",
"Add": "item/add",
"Delete": "item/delete",
"UnlistItem": "items/unlist",
"AddVariations": "item/add_variations",
"DeleteVariation": "item/delete_variation",
"GetItemsList": "items/get",
"GetItemDetail": "item/get",
"UpdateItem": "item/update",
"AddItemImg": "item/img/add",
"UpdateItemImg": "item/img/update",
"InsertItemImg": "item/img/insert",
"DeleteItemImg": "item/img/delete",
"UpdatePrice": "items/update_price",
"UpdateStock": "items/update_stock",
"UpdateVariationPrice": "items/update_variation_price",
"UpdateVariationStock": "items/update_variation_stock",
"UpdatePriceBatch": "items/update/items_price",
"UpdateStockBatch": "items/update/items_stock",
"UpdateVariationPriceBatch": "items/update/vars_price",
"UpdateVariationStockBatch": "items/update/vars_stock",
"InitTierVariation": "item/tier_var/init",
"AddTierVariation": "item/tier_var/add",
"GetVariation": "item/tier_var/get",
"UpdateTierVariationList": "item/tier_var/update_list",
"UpdateTierVariationIndex": "item/tier_var/update",
"BoostItem": "items/boost",
"GetBoostedItem": "items/get_boosted",
"SetItemInstallmentTenures": "item/installment/set",
"GetPromotionInfo": "item/promotion/get",
"GetRecommendCats": "item/categories/get_recommend",
"GetComment": "items/comments/get",
"ReplyComments": "items/comments/reply",
//=======================================================
// Image
//=======================================================
"UploadImg": "image/upload",
//=======================================================
// Discount
//=======================================================
"AddDiscount": "discount/add",
"AddDiscountItem": "discount/items/add",
"DeleteDiscount": "discount/delete",
"DeleteDiscountItem": "discount/item/delete",
"GetDiscountDetail": "discount/detail",
"GetDiscountsList": "discounts/get",
"UpdateDiscount": "discount/update",
"UpdateDiscountItems": "discount/items/update",
//=======================================================
// Orders
//=======================================================
"GetOrdersList": "orders/basics",
"GetOrdersByStatus": "orders/get",
"GetOrderDetails": "orders/detail",
"GetEscrowDetails": "orders/my_income",
"AddOrderNote": "orders/note/add",
"CancelOrder": "orders/cancel",
"AcceptBuyerCancellation": "orders/buyers_cancellation/accept",
"RejectBuyerCancellation": "orders/buyers_cancellation/reject",
"GetForderInfo": "orders/forder/get",
"GetEscrowReleasedOrders": "orders/get_escrow_detail",
"SplitOrder": "orders/split",
"UndoSplitOrder": "orders/unsplit",
"GetUnbindOrderList": "orders/unbind/list",
"MyIncome": "orders/income",
//=======================================================
// Logistics
//=======================================================
"GetLogistics": "logistics/channel/get",
"UpdateShopLogistics": "logistics/channels/update",
"GetParameterForInit": "logistics/init_parameter/get",
"GetAddress": "logistics/address/get",
"GetTimeSlot": "logistics/timeslot/get",
"GetBranch": "logistics/branch/get",
"GetLogisticInfo": "logistics/init_info/get",
"Init": "logistics/init",
"GetAirwayBill": "logistics/airway_bill/get_mass",
"GetOrderLogistics": "logistics/order/get",
"GetLogisticsMessage": "logistics/tracking",
"GetForderWaybill": "logistics/forder_waybill/get_mass",
"SetAddress": "logistics/address/set",
"DeleteAddress": "logistics/address/delete",
//=======================================================
// Returns
//=======================================================
"ConfirmReturn": "returns/confirm",
"DisputeReturn": "returns/dispute",
"GetReturnList": "returns/get",
"GetReturnDetail": "returns/detail",
//=======================================================
// Public
//=======================================================
"GetShopsByPartner": "shop/get_partner_shop",
"GetCategoriesByCountry": "item/categories/get_by_country",
"GetPaymentList": "payment/list",
//=======================================================
// TopPicks
//=======================================================
"GetTopPicksList": "top_picks/get",
"AddTopPicks": "top_picks/add",
"UpdateTopPicks": "top_picks/update",
"DeleteTopPicks": "top_picks/delete",
//=======================================================
// FirstMileTracking
//=======================================================
"GenerateFMTrackingNo": "fm_tn/generate",
"GetShopFMTrackingNo": "fm_tn/get",
"FirstMileCodeBindOrder": "fm_tn/bind",
"GetFmTnDetail": "fm_tn/detail",
"GetFMTrackingNoWaybill": "fm_tn/waybill",
"GetShopFirstMileChannel": "fm_tn/channels",
"FirstMileUnbind": "fm_tn/unbind",
//=======================================================
// Payment
//=======================================================
"GetTransactionList": "wallet/transaction/list",
//=======================================================
// Push
//=======================================================
"GetPushConfig": "push/get_config",
"SetPushConfig": "push/set_config",
//=======================================================
// Auth (V2)
//=======================================================
"GetAccessToken": "auth/token/get",
"RefreshAccessToken": "auth/access_token/get",
}