09 2019 档案

摘要:首先API接口,无非就是通过该程序去处理数据的数据,及判断数据的准确性。 因此我们需要一个DBTool的操作方法。 DBTool地址:https://github.com/gfarmhuang/DBTool 阅读全文
posted @ 2019-09-02 16:37 JeckyHuang 阅读(134) 评论(0) 推荐(0)
摘要:首先我们先建立文件的结构 如下图: components - 存放所有的全局方法,比如:autoplay的函数 lib - 所有第三方的方法 比如:DBTool:数据库的方法 logs - 日志 webroot - 整个api的入口文件,就是xxx.com访问的文件夹 config.php - 全局 阅读全文
posted @ 2019-09-02 16:37 JeckyHuang 阅读(640) 评论(0) 推荐(0)
摘要:Vue的router默认是 export default new Router({ mode: 'history', routes: [ { path: '/', name: 'HelloWorld', component: HelloWorld } ] }) 有的时候我们为了实现更多的功能,需要在 阅读全文
posted @ 2019-09-01 12:26 JeckyHuang 阅读(201) 评论(0) 推荐(0)