apifm-webapi 24.6.19 → 24.7.28
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 +12 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -975,6 +975,9 @@ module.exports = {
|
|
|
975
975
|
cmsTags: () => {
|
|
976
976
|
return request('/cms/tags/list', true, 'get', { })
|
|
977
977
|
},
|
|
978
|
+
cmsTagsV2: data => {
|
|
979
|
+
return request('https://cms.apifm.com/' + merchantId + '/newsTag/list', true, 'post', data)
|
|
980
|
+
},
|
|
978
981
|
cmsNewsSignUsers: (data) => {
|
|
979
982
|
return request('/newsSign/signUsers', true, 'post', data)
|
|
980
983
|
},
|
|
@@ -1195,6 +1198,9 @@ module.exports = {
|
|
|
1195
1198
|
loginout: (token) => {
|
|
1196
1199
|
return request('/user/loginout', true, 'get', { token })
|
|
1197
1200
|
},
|
|
1201
|
+
userLogedList: (token) => {
|
|
1202
|
+
return request('/user/logedUserList', true, 'get', { token })
|
|
1203
|
+
},
|
|
1198
1204
|
userDelete: (token) => {
|
|
1199
1205
|
return request('/user/delete', true, 'post', { token })
|
|
1200
1206
|
},
|
|
@@ -1971,6 +1977,12 @@ module.exports = {
|
|
|
1971
1977
|
tempDataGet: key => {
|
|
1972
1978
|
return request('/tempData/get', true, 'get', { key })
|
|
1973
1979
|
},
|
|
1980
|
+
tempDataSetV2: (key, content) => {
|
|
1981
|
+
return request('https://common.apifm.com/' + merchantId + '/tempData/set', true, 'post', { key, content })
|
|
1982
|
+
},
|
|
1983
|
+
tempDataGetV2: key => {
|
|
1984
|
+
return request('https://common.apifm.com/' + merchantId + '/tempData/get', true, 'get', { key })
|
|
1985
|
+
},
|
|
1974
1986
|
commonDatetime: () => {
|
|
1975
1987
|
return request('/common/datetime', true, 'get')
|
|
1976
1988
|
},
|