1. 主页
  2. 文档
  3. 商业PHP版 V3
  4. 开发文档
  5. PHP-V3-管理后台LaiKeAdmin目录结构说明

PHP-V3-管理后台LaiKeAdmin目录结构说明

来客推PHP后台文件说明

LaiKeAdmin
├── aliyun-oss-php-sdk 阿里云oss-sdk
├── baidunotify_url.php 百度支付回调
├── composer.json
├── composer.lock
├── composer.phar 
├── db_log 数据库脚本 
├── fckeditor  编辑器
├── images  图片
├── index.php 入口文件
├── js_api_call.php
├── jsapi_ticket.php  
├── laiketui 框架文件 
├── modpub 资源
├── notify_url.log 微信回调日志
├── notify_url.php 微信回调文件
├── plugins 插件协助包
├── resource 资源
├── robots.txt 
├── static 移动端一些图片文件
├── style js/页面插件/css等  有一些其他的文件夹没有一一列出 基本上常用的都列出来了
│   ├── pages  管理后台页面的样式和前端脚本
│   │   ├── css 样式
│   │   └── js 脚本 
│   ├── vue 
│   └── zTree 
├── upload 插件安装用
├── vendor 第三方 composer下载的sdk文件
├── webapp 
│   ├── _cache 缓存文件 此文件夹不能删 此文件的子文件和子文件夹可删
│   ├── _compile 编译文件 此文件夹不能删 此文件的子文件和子文件夹可删
│   ├── config 配置文件
│   │   ├── autoload.ini 自动加载
│   │   ├── compile.conf 变异配置
│   │   ├── config_handlers.ini  不动 
│   │   ├── db_config.php 数据库配置
│   │   ├── factories.ini 不动
│   │   ├── filters.ini 过滤器配置  
│   │   └── settings.ini 无用不动
│   ├── config.php 框架的一些配置
│   ├── filter 过滤器
│   │   └── LoginFilter.class.php 登陆过滤器
│   ├── lib  
│   │   ├── AutoDeliveryUtils.class.php 自动发货
│   │   ├── Baidu_pay 百度支付
│   │   ├── Commission.class.php 分销
│   │   ├── DBAction.class.php db数据库操作
│   │   ├── DeliveryHelper.class.php 发货
│   │   ├── EditOrderStatus.class.php 订单状态
│   │   ├── ExcelUtils.php 导出帮助类
│   │   ├── FileUtil.class.php 文件帮助类
│   │   ├── GETUI 个推推送
│   │   ├── IntegralUtils.class.php 积分帮助类
│   │   ├── JSSDK.class.php jssdk分享
│   │   ├── JWT.php token帮助类
│   │   ├── JurisdictionAction.class.php 权限按钮帮助类
│   │   ├── LKTConfigInfo.class.php 配置帮助类 
│   │   ├── LaiKeLogUtils.class.php 日志帮助类
│   │   ├── LaikePlugin.class.php 插件帮助类
│   │   ├── MenuUtils.php 菜单帮助类
│   │   ├── Navbar.class.php 导航帮助类
│   │   ├── OSSCommon.php oss帮助类
│   │   ├── PC_Tools.class.php pc店铺帮助类
│   │   ├── Plugin 插件入口文件
│   │   ├── Plugin.class.php 插件帮助类 
│   │   ├── PluginsDBUtils.php 插件数据库帮助类
│   │   ├── ReceiveGoodsUtils.class.php 收货帮助类 
│   │   ├── RedisClusters.php   redis 帮助类
│   │   ├── RedisClusters_config.php redis 配置类
│   │   ├── RefundUtils.class.php  退货帮助类
│   │   ├── ServerPath.class.php 图片帮助类 
│   │   ├── ShowPager.class.php 分页帮助类
│   │   ├── SysConst.class.php 系统常量帮助类
│   │   ├── Tools.class.php 帮助类 
│   │   ├── WXTopicMsgUtils.class.php  微信订阅消息帮助类  
│   │   ├── alipay 支付宝支付相关 
│   │   ├── aliyun-dysms-php-sdk-lite 阿里云短信相关sdk 
│   │   ├── cert 证书 
│   │   ├── distribution.class.php 分销帮助类
│   │   ├── freight.class.php 运费帮助类
│   │   ├── front.class.php 内置链接帮助类 
│   │   ├── holiday.class.php 假日计算帮助类 
│   │   ├── login_config.php 登陆配置类 
│   │   ├── order.class.php 订单帮助类
│   │   ├── phpqrcode.php 二维码帮助类
│   │   ├── pinyin.php 拼音帮助类 
│   │   ├── product.class.php 商品帮助类
│   │   ├── py.php 拼音帮助类
│   │   ├── role.class.php 角色帮助类 
│   │   ├── third 第三方相关  
│   │   ├── wxpayv3 微信支付相关 
│   │   ├── zipfile.class.php 压缩文件帮助类 
│   ├── log 日志 
│   │   ├── JP 竞拍日志
│   │   │   └── JP_Time.log
│   │   ├── alipay 支付宝相关日志
│   │   │   ├── aliminipay.log
│   │   │   ├── app.log
│   │   │   ├── mini.log
│   │   │   └── return.log
│   │   ├── app  移动端相关日志
│   │   │   ├── auction.log
│   │   │   ├── coupon.log
│   │   │   ├── group.log
│   │   │   ├── laiketui_address.log
│   │   │   ├── login.log
│   │   │   ├── mch.log
│   │   │   ├── order.log
│   │   │   ├── order.log.mine
│   │   │   ├── order.log.r24368
│   │   │   ├── order.log.r25341
│   │   │   ├── recharge.log
│   │   │   ├── seckill.log
│   │   │   └── sign.log
│   │   ├── common  公共日志
│   │   ├── pc_api pc店铺日志
│   │   │   └── coupon.log 优惠券日志
│   │   ├── push app推送日志
│   │   │   └── push.log
│   │   └── wechat 微信支付相关日志
│   │       ├── app.log
│   │       ├── jsapi.log
│   │       └── mini.log
│   ├── modules 模块
│   │   ├── AdminLogin 后台首页
│   │   ├── Customer 商户/商城
│   │   ├── Default 系统默认模块
│   │   ├── Login 登陆
│   │   ├── app 移动端接口
│   │   │   ├── actions
│   │   │   │   ├── MchBankAction.class.php 店铺银行卡管理接口 
│   │   │   │   ├── addFavoritesAction.class.php 收藏店铺/商品、相似商品接口  
│   │   │   │   ├── addressAction.class.php 收货地址管理接口
│   │   │   │   ├── badword.src.php 敏感词
│   │   │   │   ├── bankList.php 银行卡号通用开头列表
│   │   │   │   ├── cartAction.class.php 购物车接口
│   │   │   │   ├── couponAction.class.php 优惠券接口
│   │   │   │   ├── getcodeAction.class.php 分享二维码等接口
│   │   │   │   ├── indexAction.class.php 移动端首页接口
│   │   │   │   ├── jssdkAction.class.php jssdk 分享接口
│   │   │   │   ├── kefuAction.class.php 客服接口 
│   │   │   │   ├── liveBroadcastAction.class.php 微信小程序直播相关
│   │   │   │   ├── loginAction.class.php 登陆、注册、授权等接口
│   │   │   │   ├── mchAction.class.php 店铺端接口
│   │   │   │   ├── messageAction.class.php 消息管理
│   │   │   │   ├── orderAction.class.php 订单管理
│   │   │   │   ├── pAction.class.php 测试
│   │   │   │   ├── payAction.class.php 支付接口
│   │   │   │   ├── productAction.class.php 商品接口
│   │   │   │   ├── rechargeAction.class.php 充值接口
│   │   │   │   ├── returnAction.class.php 退货接口 
│   │   │   │   ├── searchAction.class.php 搜索接口
│   │   │   │   ├── shop_name.php 店铺敏感词
│   │   │   │   ├── signAction.class.php 签到接口 
│   │   │   │   ├── testAction.class.php 定时任务接口  
│   │   │   │   ├── urlAction.class.php 动态获取url地址接口
│   │   │   │   └── userAction.class.php 用户相关接口
│   │   ├── app_pc pc商城接口
│   │   ├── banner 轮播图
│   │   ├── bargain 砍价
│   │   ├── brand_class 分类
│   │   ├── client 角色
│   │   ├── comments 评论 
│   │   ├── coupon 优惠券
│   │   ├── data_dictionary 字典
│   │   ├── demo
│   │   │   ├── actions 控制层
│   │   │   ├── config 配置
│   │   │   ├── templates 模版
│   │   │   └── views 试图
│   │   ├── edition 版本
│   │   ├── express 物流公司
│   │   ├── finance 财务报表
│   │   ├── freight 运费
│   │   ├── guide 引导图
│   │   ├── image 图片资源
│   │   ├── include_path 包含文件
│   │   │   ├── element-footer.tpl 新版本底部
│   │   │   ├── element-header.tpl 新版本头部
│   │   │   ├── element-nav.tpl 新版本导航
│   │   │   ├── footer.tpl 老版本底部
│   │   │   ├── header.tpl 老版本头部
│   │   │   ├── nav.tpl 老版本导调
│   │   │   ├── nav_backBtn.tpl 返回
│   │   │   ├── software_footer.tpl 图片组件底
│   │   │   ├── software_head.tpl 图片组件头
│   │   │   ├── software_img.tpl 图片
│   │   │   └── ueditor.tpl 编辑器
│   │   ├── index 首页 
│   │   ├── label 商品标签
│   │   ├── laikeplugin 插件管理
│   │   ├── mch 店铺
│   │   ├── member 会员/用户
│   │   ├── menu 菜单
│   │   ├── message 消息/短信管理  
│   │   ├── orderslist 订单管理
│   │   ├── overview 功能导览
│   │   ├── payment 支付管理
│   │   ├── pc_api pc店铺接口
│   │   ├── permission 权限
│   │   ├── plug_ins 默认模版配置
│   │   ├── product 商品管理
│   │   ├── product_class 商品分类
│   │   ├── report 报表
│   │   ├── return 退款
│   │   ├── role 角色
│   │   ├── sale 售后
│   │   ├── search_configuration 搜索配置
│   │   ├── setupload 图片配置 
│   │   ├── stock 库存管理
│   │   ├── store_report 店铺报表
│   │   ├── system 系统管理
│   │   ├── system_configuration 系统配置
│   │   ├── systemtell 系统公告
│   │   ├── taobao 淘宝助手(时灵时不灵)
│   │   ├── template 模版管理(首页配置) 
│   │   ├── terminal 终端配置 
│   │   └── userlist 用户
└── zfbnotify_url.php 支付宝回调

说明:

前端请求说明

# 对应LaiKeAdmin/webapp/modules/app/ 文件夹
module: app
# 对应LaiKeAdmin/webapp/modules/app/productAction.class.php 类
action: product
# 对应LaiKeAdmin/webapp/modules/app/productAction.class.php 类中的方法名index()
app: index
# 或者
m: index
# 对应LaiKeAdmin/webapp/modules/app/productAction.class.php 类中的方法名index()
# m: index
# 对应LaiKeAdmin/webapp/modules/app/productAction.class.php 类中的方法名index()

开发关说明

LaiKeAdmin
├── style js/页面插件/css等  有一些其他的文件夹没有一一列出 基本上常用的都列出来了
│   ├── pages  管理后台页面的样式和前端脚本
│   │   ├── css 样式 
│   │   │   ├──demo.css 这个文件对应在 webapp/modules/demo/templates/下的文件css引入
│   │   └── js 脚本 
│   │   │   ├──demo.js 这个文件对应在 webapp/modules/demo/templates/下的文件js引入
├── webapp 
│   ├── modules 模块
│   │   ├── demo
│   │   │   ├── actions 控制层
│   │   │   ├── config 配置
│   │   │   ├── templates smarty模板语言写的页面类似vue的写法,前端要写的界面是这个文件里面的tpl文件
│   │   │   └── views 视图主要用来传参数