We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2da5ff commit 21a2758Copy full SHA for 21a2758
mock/user.mock.ts
@@ -156,6 +156,27 @@ export default defineMock([
156
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
157
},
158
159
+
160
+ {
161
+ url: "users/profile",
162
+ method: ["GET"],
163
+ body: {
164
+ code: "00000",
165
+ data: {
166
+ id: 2,
167
+ username: "admin",
168
+ nickname: "系统管理员",
169
+ avatar:
170
+ "https://foruda.gitee.com/images/1723603502796844527/03cdca2a_716974.gif",
171
+ gender: 1,
172
+ mobile: "17621210366",
173
+ email: null,
174
+ deptName: "有来技术",
175
+ roleNames: "系统管理员",
176
+ createTime: "2019-10-10",
177
+ },
178
179
180
]);
181
182
// 用户映射表数据
0 commit comments