1.0.19 • Published 3 years ago

fpms-client-dev v1.0.19

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

使用

  1. 使用 npm 安装
npm i fpms-client-dev
  1. 导入 sdk
import { fpms } from 'fpms-client-dev'
  1. 设置 sdk 环境, 默认生产环境
fpms.isDebug = true;
  1. 初始化
fpms.initConfig({
   PLATFORMID: "xx",
   PARTNERID: "xx",
   PROVIDERID: "xx",
   WSCLIENTDOMAIN: "xxxx",
   GAMEID: "xxxx",
   DEVICETYPE: xx,
   WSCLIENTTYPE: xx
});
  1. 接口调用
/** 获取验证码 */
fpms.getSMSCode("countryCode", "phoneNum", "purpose");
/** 密码登录 */
fpms.loginByPassword("fffffffffeb5adeafeb5adea00000000", "countryCode", "phoneNum", "userPwd", "", (res) => {});
1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago