文档
测试

用户创建

POST
/qgy/user/register

接口描述

注册用户

请求参数

参数名
类型
描述
必填
name
String
用户姓名
可选
account
String
用户账号
必填
password
String
用户密码
必填
phone
String
用户电话
可选
unit
String
单位
必填
appId
String
百度appId
必填
secretKey
String
百度secretKey
必填
appKey
String
百度appKey
必填
alipayCode
String
支付宝用户ID
必填
weChatCode
String
微信账号
必填
appAuthToken
String
支付宝app_auth_token
必填
weChatOficial
String
微信公众账号ID
必填
weChatAppKey
String
微信商户密钥 (API密钥)
必填

返回示例

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data": { "id":"111111111111111111111111", "name": "王五", "account": "wangwu", "password": "28256789", "phone": "123456789", "joindate": "2019-08-24T02:47:11.458+0000", "updatedate": null, "power": 3, "userId": null, "unit": "销售部", "isDelete": null, "opens": null, "selling": null, "appId":"cs", "secretKey":"cs", "appKey":"cs" "alipayCode":"cs", "alipayState"0,//支付宝是否签约 0:未签约 1:签约 "weChatCode":"cs", "weChatState":0,/微信是否签约 0:未签约 1:签约 "appAuthToken":"201911BB85223182c43e4c8791dcd88370c0bD74",//支付宝app_auth_token "weChatOficial":"111111111111111111",//微信公众账号ID "weChatAppKey":22222222222222222//微信商户Key } } ```