first commit for takway.ai

This commit is contained in:
IrvingGao committed 2024-05-18 15:50:56 +08:00
commit d7a6de771c
3256 files changed
+795173

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import Mock from 'mockjs'
import getUserInfo from './user/getUserInfo.js'
import getMenuList from './user/getMenuList.js'
Mock.setup({
timeout: 500
})
console.log('启动mock请求数据')
getUserInfo(Mock)
getMenuList(Mock)
+1
View File
@@ -0,0 +1 @@
export default Mock => {}
+1
View File
@@ -0,0 +1 @@
export default Mock => {}
+3
View File
@@ -0,0 +1,3 @@
export function randomNum (n, m) {
return Math.floor(Math.random() * (m - n + 1) + n)
}