企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
`[注意:该接口数据比较敏感,建议使用https]` ~~~[api] post:/User/login *account#用户账号 *password#用户密码 int:decrypt=0#密码是否为编译过 (0:未加密 1:已加密) *client_id#授权的客户端id *client_secret#授权的客户端密钥 response_type=token#返回的认证数据类型 <<< success { ret: 0, msg: "", uid: "1000********1341268", username: "lcq***", password: "96e79218965eb72c92**************", realname: "刘*强", email: null, telephone: "159****0681", sex: "0", identitytype: "2", is_audit: "1", is_active: "1", is_init: "1", origin: "1", // 用户来源(0:导入的、1:邀请码的、2:开放注册的) certificate: "0", //教师审核状态(0:未上传、2:已通过、-1:未通过、1待审核) create_time: "1452860313", update_time: "1452860313", status: "0", group: [ { title: "学校管理员", type: "0", group_id: "2" }, { title: "校长", type: "0", group_id: "11" } ], access_token: "558f86e48***************1930ccd0", expires_in: 86400, scope: null, refresh_token: "aa328d03***************63471396e" } <<< error { request: "/user/login", error: "未找到相应用户", error_code: "未找到相应用户" } ~~~