apifm-webapi 25.4.16 → 25.4.24

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.
Files changed (2) hide show
  1. package/index.js +12 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1175,6 +1175,9 @@ module.exports = {
1175
1175
  modifyUserInfo: (data) => {
1176
1176
  return request('/user/modify', true, 'post', data)
1177
1177
  },
1178
+ modifyUserInfoV2: (data) => {
1179
+ return request('https://common.apifm.com/' + subDomain + '/user/modify', false, 'post', data)
1180
+ },
1178
1181
  bindSaleman: data => {
1179
1182
  return request('/user/bindSaleman', true, 'post', data)
1180
1183
  },
@@ -1948,6 +1951,15 @@ module.exports = {
1948
1951
  cardExchangeFromPwd: data => {
1949
1952
  return request('/card/exchange', true, 'post', data)
1950
1953
  },
1954
+ cardShareOpen: data => {
1955
+ return request('/card/share/open', true, 'post', data)
1956
+ },
1957
+ cardShareClose: data => {
1958
+ return request('/card/share/close', true, 'post', data)
1959
+ },
1960
+ cardShareFetch: data => {
1961
+ return request('/card/share/fetch', true, 'post', data)
1962
+ },
1951
1963
  // 收藏卡片
1952
1964
  collectCardHis: data => {
1953
1965
  return request('/collectCard/del', true, 'post', data)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "25.04.16",
4
- "description": "手机号码归属地查询,号段接口升级",
3
+ "version": "25.04.24",
4
+ "description": "增加会员卡赠送好友逻辑",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"