Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

ds147000 / react-native-project-storage

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • react-native-project-storage
  • mock
  • router
  • module
  • user.js
  • GGbong's avatar
    集成mock模拟测试 · 276f0a77
    GGbong committed Jun 02, 2020
    276f0a77 Browse Files
user.js 208 Bytes
BlameHistoryPermalink
Edit
1 2 3 4 5 6 7 8 9 10 11 12
module.exports = [
    {
        url: /url/,
        method: 'get',
        controller: req => {
            return {
                code: 200,
                data: [1,2,3,4]
            }
        }
    }
]