apifm-webapi 25.10.16 → 25.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +51 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -747,6 +747,30 @@ module.exports = {
|
|
|
747
747
|
siteStatisticsSaleroomYear: (year = '') => {
|
|
748
748
|
return request('/site/statistics/saleroom/year', true, 'get', { year })
|
|
749
749
|
},
|
|
750
|
+
bonusLog: (data) => {
|
|
751
|
+
return request('/bonusLog/list', true, 'post', data)
|
|
752
|
+
},
|
|
753
|
+
bonusLogV2: (data) => {
|
|
754
|
+
return request('https://common.apifm.com/' + subDomain + '/bonusLog/list', true, 'post', data)
|
|
755
|
+
},
|
|
756
|
+
mtjAssetV2: (token) => {
|
|
757
|
+
return request('https://common.apifm.com/' + subDomain + '/mtj/asset', true, 'get', { token })
|
|
758
|
+
},
|
|
759
|
+
mtjSettingV2: () => {
|
|
760
|
+
return request('https://common.apifm.com/' + subDomain + '/mtj/setting', true, 'get')
|
|
761
|
+
},
|
|
762
|
+
mtjLogsV2: (data) => {
|
|
763
|
+
return request('https://common.apifm.com/' + subDomain + '/mtj/logs', true, 'post', data)
|
|
764
|
+
},
|
|
765
|
+
mtjStatisticsV2: () => {
|
|
766
|
+
return request('https://common.apifm.com/' + subDomain + '/site/statistics/mjt', true, 'get')
|
|
767
|
+
},
|
|
768
|
+
mtjTransferV2: (data) => {
|
|
769
|
+
return request('https://common.apifm.com/' + subDomain + '/mtj/transfer', true, 'post', data)
|
|
770
|
+
},
|
|
771
|
+
mtjTransferLogsV2: (data) => {
|
|
772
|
+
return request('https://common.apifm.com/' + subDomain + '/mtj/transfer/logs', true, 'post', data)
|
|
773
|
+
},
|
|
750
774
|
orderRefunds: (token, orderId) => {
|
|
751
775
|
return request('/order/refund', true, 'get', {
|
|
752
776
|
token,
|
|
@@ -2141,6 +2165,33 @@ module.exports = {
|
|
|
2141
2165
|
courseInfoBuyLogDelete: (token, orderId) => {
|
|
2142
2166
|
return request('/courseBuyLog/del', true, 'post', { token, orderId })
|
|
2143
2167
|
},
|
|
2168
|
+
courseInfoListV2: data => {
|
|
2169
|
+
return request('https://common.apifm.com/' + subDomain + '/courseInfo/list', false, 'post', data)
|
|
2170
|
+
},
|
|
2171
|
+
courseInfoV2: id => {
|
|
2172
|
+
return request('https://common.apifm.com/' + subDomain + '/courseInfo/info', false, 'get', { id })
|
|
2173
|
+
},
|
|
2174
|
+
courseBuyLogPublicV2: data => {
|
|
2175
|
+
return request('https://common.apifm.com/' + subDomain + '/courseBuyLog/public', false, 'post', data)
|
|
2176
|
+
},
|
|
2177
|
+
courseBuyLogMyV2: data => {
|
|
2178
|
+
return request('https://common.apifm.com/' + subDomain + '/courseBuyLog/my', false, 'post', data)
|
|
2179
|
+
},
|
|
2180
|
+
courseInfoBuyV2: data => {
|
|
2181
|
+
return request('https://common.apifm.com/' + subDomain + '/courseBuyLog/buy', false, 'post', data)
|
|
2182
|
+
},
|
|
2183
|
+
courseInfoBuyLogPayV2: (token, orderId) => {
|
|
2184
|
+
return request('https://common.apifm.com/' + subDomain + '/courseBuyLog/pay', false, 'post', { token, orderId })
|
|
2185
|
+
},
|
|
2186
|
+
courseInfoBuyLogDetailV2: (token, id, hxNumber = '') => {
|
|
2187
|
+
return request('https://common.apifm.com/' + subDomain + '/courseBuyLog/detail', false, 'get', { token, id, hxNumber })
|
|
2188
|
+
},
|
|
2189
|
+
courseInfoBuyLogCloseV2: (token, orderId) => {
|
|
2190
|
+
return request('https://common.apifm.com/' + subDomain + '/courseBuyLog/close', false, 'post', { token, orderId })
|
|
2191
|
+
},
|
|
2192
|
+
courseInfoBuyLogDeleteV2: (token, orderId) => {
|
|
2193
|
+
return request('https://common.apifm.com/' + subDomain + '/courseBuyLog/del', false, 'post', { token, orderId })
|
|
2194
|
+
},
|
|
2144
2195
|
// 橱窗
|
|
2145
2196
|
chuchuanSettingInfo: uid => {
|
|
2146
2197
|
return request('/chuchuan/info', true, 'get', { uid })
|