文档
测试

User creation after login

POST
/qgy/user/save

接口描述

Add a user based on the current user

Request parameters

参数名
类型
描述
必填
name
String
Name of user
可选
account
String
User Account
必填
password
String
User password
必填
phone
String
Telephone
可选
userId
String
Current users
必填
unit
String
Unit
必填
power
Integer
Permission specified value :1 super tube ,2 agents ,3 common users
必填
weChatToken
String
WeChat Public Number Token
可选
weBlackTemplateId
String
ID of blacklist template
可选
weAttTemplateId
String
WeChat send attendance template ID
可选
weChatAppId
String
WeChat Public APPID
可选
weChatSecret
String
WeChat Public AppSecret
可选
weHighTemplateId
String
WeChat sends high temperature template ID
可选

Return sample

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data": { "id": 3, "name": " Agency", "account": "agent2", "password": "28256789", "phone": "123456789", "joindate": "2019-08-24T02:47:11.458+0000", "updatedate": null, "power": 2, "userId": null, "unit": "Sales", "isDelete": null, "opens": null, "selling": null, "callbackUrl":null, "weChatToken":null, "weBlackTemplateId":null, "weAttTemplateId":null, "weChatAppId":null, "weChatSecret":null } } ```