描述
设置编辑者信息。
接口
bool SetEditorInfo(const char* terminal, const char* editorId, const char* editorName, int permissionLevel, const char* attrs)
参数
参数名 | 必填 | 类型 | 说明 | 备注 |
---|---|---|---|---|
terminal | 是 | string | 用户操作终端 | 用户自定义,示例:Android、Web、Desktop等 |
editorId | 是 | string | 编辑者ID | |
editorName | 是 | string | 编辑者姓名 | |
permissionLevel | 是 | int | 操作权限等级 | 值越大 权限越高 |
attrs | 是 | json | 附加属性 | 最外层应为{}对象,格式由应用自定义 web版参数为json对象 |
返回值
类型 | 说明 | 备注 |
---|---|---|
bool | 是否设置成功 | 1:表示成功 0:表示失败 |
文档更新时间: 2024-08-27 18:06 作者:admin