Skip to content

Commit 3b6b8bf

Browse files
committed
fix:server-mock
Synchronize:2026/03/07-21:07:26 Private-Origin: c3b869027ef4f4d04acdc3aa60d487558c04452f
1 parent 52a5486 commit 3b6b8bf

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

mock-backend/server.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,14 @@ const MOCK_USER = {
5656
openid: 'easecation_mock_2015',
5757
userid: 2015,
5858
nickname: '土豆',
59-
permission: ['authorize.super', 'authorize.normal', 'sen.admin', 'ticket.media', 'ticket.WB'],
59+
permission: [
60+
'authorize.super',
61+
'authorize.normal',
62+
'sen.admin',
63+
'ticket.media',
64+
'ticket.WB',
65+
'shop',
66+
],
6067
};
6168

6269
// 与真实 /ec/detail 一致的完整结构,供 /ec/detail 及 list/basic 等复用

0 commit comments

Comments
 (0)