Simulated mock data

clipboard.png

clipboard.png
the data output from the console
doesn"t feel like a problem
does anyone know how to simulate it

Mar.12,2021

data is the data returned after you need to call this API

https://codepen.io/jx915/pen/.


//  Mock
var Mock = require('mockjs'); // import Mock from 'mockjs'
var data = Mock.mock({
  //  list  1  10 
  'list|1-10': [{
    'number1|1-100.1-10': 1,
    'number2|123.1-10': 1,
    'number3|123': 1,
    'number4|123.10': 1.123
  }]
})

console.log(JSON.stringify(data,null, 4))
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf7585-54cc9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf7585-54cc9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?