apifm-webapi 24.6.19 → 24.6.21
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 +6 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1971,6 +1971,12 @@ module.exports = {
|
|
|
1971
1971
|
tempDataGet: key => {
|
|
1972
1972
|
return request('/tempData/get', true, 'get', { key })
|
|
1973
1973
|
},
|
|
1974
|
+
tempDataSetV2: (key, content) => {
|
|
1975
|
+
return request('https://common.apifm.com/' + merchantId + '/tempData/set', true, 'post', { key, content })
|
|
1976
|
+
},
|
|
1977
|
+
tempDataGetV2: key => {
|
|
1978
|
+
return request('https://common.apifm.com/' + merchantId + '/tempData/get', true, 'get', { key })
|
|
1979
|
+
},
|
|
1974
1980
|
commonDatetime: () => {
|
|
1975
1981
|
return request('/common/datetime', true, 'get')
|
|
1976
1982
|
},
|