转换成 golang struct { "Code": 200, "Message": "获取成功", "Data": { "LoginName": "xmcadmin",…
- User
转换成 golang struct { "Code": 200, "Message": "获取成功", "Data": { "LoginName": "xmcadmin", "UserID": "acd03385cbab4f12ae65da8da38af036", "UserName": "管理员", "DeptName": "张家峁选煤厂", "DeptID": "2a11e84aff644031915254f5775b6d31", "WebSiteID": "94986c25d6564bcd915a568267642103", "WebSiteDeptID": "2a11e84aff644031915254f5775b6d31", "WebSiteDeptName": "张家峁选煤厂", "DeptType": "井工矿", "IsSuperAdmin": false, "IsPasswordExpired": false, "ImageUrl": "/Document/HeadImages/202306/02/071218/acd03385cbab4f12ae65da8da38af036.jpg", "Roles": [ { "Name": "公共权限", "ID": "76a18cd311674456807129897adb4d90" }, { "Name": "高级管理员", "ID": "ad24f5b7aada4ec8bbeb5ce4c25a1876" }, { "Name": "管理员", "ID": "093b7863eae14e6d946c6d603ff2df09" } ], "IsMoreSign": "Y", "WebSiteDeptType": "井工矿", "DeptNo": "005001", "WebSiteDeptNo": "005001", "LoginTime": "2023/09/23 10:17:30", "IsLeader": null, "LastLoginTime": "2023/09/23 10:17:59", "RegistrationId": "", "IsLeave": null, "IDCard": null, "ThemeColorType": "1", "YunxinID": null } }
- Assistant
type Response struct { Code int `json:"Code"` Message string `json:"Message"` Data Data `json:"Data"` } type Data struct { LoginName string `json:"LoginName"` UserID string `json:"UserID"` UserName string `json:"UserName"` DeptName string `json:"DeptName"` DeptID string `json:"DeptID"` WebSiteID string `json:"WebSiteID"` WebSiteDeptID string `json:"WebSiteDeptID"` WebSiteDeptName string `json:"WebSiteDeptName"` DeptType string `json:"DeptType"` IsSuperAdmin bool `json:"IsSuperAdmin"` IsPasswordExpired bool `json:"IsPasswordExpired"` ImageUrl string `json:"ImageUrl"` Roles []Role `json:"Roles"` IsMoreSign string `json:"IsMoreSign"` WebSiteDeptType string `json:"WebSiteDeptType"` DeptNo string `json:"DeptNo"` WebSiteDeptNo string `json:"WebSiteDeptNo"` LoginTime string `json:"LoginTime"` IsLeader interface{} `json:"IsLeader"` LastLoginTime string `json:"LastLoginTime"` RegistrationId string `json:"RegistrationId"` IsLeave interface{} `json:"IsLeave"` IDCard interface{} `json:"IDCard"` ThemeColorType string `json:"ThemeColorType"` YunxinID interface{} `json:"YunxinID"` } type Role struct { Name string `json:"Name"` ID string `json:"ID"` }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.