文档
测试

用户修改

PUT
/qgy/user/update

接口描述

根据主键id修改用户信息

请求参数

参数名
类型
描述
必填
id
Integer
主键id
必填
name
String
用户名
可选
account
String
用户账号
可选
password
String
用户密码
可选
phone
String
用户电话
可选
userId
String
当前用户
必填
unit
String
单位
可选
power
Integer
权限 指定值:1 超管,2代理,3普通用户
可选
callbackUrl
String
回调地址
可选
weChatToken
String
微信公众号令牌
可选
weBlackTemplateId
String
微信发送黑名单模板ID
可选
weAttTemplateId
String
微信发送考勤模板ID
可选
weChatAppId
String
微信公众号APPID
可选
weChatSecret
String
微信公众号AppSecret
可选
templateUrl
String
测温回调地址
可选
templateJson
JSON
测温回调参数
可选
callbackJson
JSON
识别回调参数
可选

返回示例

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data":true } ```