标签:component 图片 web res ima 函数 class gis config
首先我们先建立文件的结构
如下图:
components - 存放所有的全局方法,比如:autoplay的函数
lib - 所有第三方的方法 比如:DBTool:数据库的方法
logs - 日志
webroot - 整个api的入口文件,就是xxx.com访问的文件夹
config.php - 全局的设置
constant.php - 所有参数的设定,如
未完待续...
标签:component 图片 web res ima 函数 class gis config
原文地址:https://www.cnblogs.com/jeckyhuang/p/11447117.html