# lybus **Repository Path**: fyzswh_admin/lybus ## Basic Information - **Project Name**: lybus - **Description**: 洛阳智慧公交 - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-09-09 - **Last Updated**: 2021-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # lybus 洛阳智慧公交 自定义类的使用方法 1、创建自定义类,并将其放入公共文件夹(如:Common\Util.Tree.Class.php) 2、在要使用的文件中用use引用该类(如:use Common\Util\Tree;) 3、使用类名::方法名(参数)的形式使用类的方法(如:Tree::create($node)) 使用关联模型 relation:先在Model文件夹先建立UserModel文件,后在控制器中使用 http://localhost:8083/Bus/Custom/custom.html 客户站点列表 http://localhost:8083/Bus/Custom/custom.html?custom=洛阳牡丹妇产医院 http://localhost:8083/Bus/Custom/addcustom.html 添加客户站点(未投放站点) 演示系统链接及图片命名规则 图片位置 \Public\uploadpic 链接文件位置 \Public\uploadweb id<=100,固定 id>100,轮播 固定(头部) id+g.jpg id.html 轮播(头部) id+a.jpg id+b.jpg id+c.jpg id.html 固定(内容页) id+n.jpg id.html 轮播(内容页) id+h.jpg id.html http://localhost:8083/Bus/Qr/qrcode.html