Implementation of analog data

1. Why write analog false data?
- separated front and rear ends, front and rear ends simultaneous development, when the interface is not
2. mock.js generation 
- Experience:
- when we're using, look for cases, looking similar to the structure of their own field, and then copy the syntax, make the corresponding modifications
3. Copy line similar json
- Browser Developer Tools / netWork / XHR / copy response
4. easy mock

Guess you like

Origin www.cnblogs.com/liaohuihui/p/11266162.html
Recommended