1.0.19 • Published 2 years ago
fpms-client-dev v1.0.19
使用
- 使用 npm 安装
npm i fpms-client-dev
- 导入 sdk
import { fpms } from 'fpms-client-dev'
- 设置 sdk 环境, 默认生产环境
fpms.isDebug = true;
- 初始化
fpms.initConfig({
PLATFORMID: "xx",
PARTNERID: "xx",
PROVIDERID: "xx",
WSCLIENTDOMAIN: "xxxx",
GAMEID: "xxxx",
DEVICETYPE: xx,
WSCLIENTTYPE: xx
});
- 接口调用
/** 获取验证码 */
fpms.getSMSCode("countryCode", "phoneNum", "purpose");
/** 密码登录 */
fpms.loginByPassword("fffffffffeb5adeafeb5adea00000000", "countryCode", "phoneNum", "userPwd", "", (res) => {});
1.0.19
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago