Skip to content

Instantly share code, notes, and snippets.

@mz121star
Created August 28, 2014 15:33
Show Gist options
  • Save mz121star/c75a68b45dc1ed0a2a64 to your computer and use it in GitHub Desktop.
Save mz121star/c75a68b45dc1ed0a2a64 to your computer and use it in GitHub Desktop.
update
增加模块guaguahuandeng
add:tpl/User/default ->guaguahuandeng.html
add:tpl/User/default ->guaguahuandeng_add.html
add:PigCms/Lib/Action/User ->guaguahuandengAction.class.php
add:PigCms\Lib\Model\User ->guaguahuandengModel.class.php 增加字段验证
edit: tpl\User\default\Public_head.html ::286line 修改导航栏菜单
edit: PigCms\Lib\Action\BaseAction.class.php ::85line 修改回复keyword
edit: PigCms\Lib\Action\Home\WeixinAction.class.php ::509line 添加关键字响应的图文消息
制作相应的Wap站内容
add:PigCms\Lib\Action\Wap\guaguahuandengAction.class.php
add: tpl\Wap\default\guaguahuandeng_index.html
add: tpl\Wap\default\common\guagua
edit: PigCms\Lib\Action\Home\WeixinAction.class.php ::511line
SQL
--
-- 表的结构 `pigcms_guaguahuandeng`
--
DROP TABLE IF EXISTS `pigcms_guaguahuandeng`;
CREATE TABLE IF NOT EXISTS `pigcms_guaguahuandeng` (
`id` int(11) NOT NULL,
`token` varchar(60) NOT NULL,
`num` int(11) NOT NULL,
`click` int(11) NOT NULL,
`keyword` varchar(60) NOT NULL DEFAULT '刮刮幻灯',
`title` int(60) NOT NULL,
`index_pic` varchar(200) NOT NULL,
`pic1` varchar(200) NOT NULL,
`pic2` varchar(200) NOT NULL,
`pic3` varchar(200) NOT NULL,
`pic4` varchar(200) NOT NULL,
`pic5` varchar(200) NOT NULL,
`mp3` varchar(200) NOT NULL,
`name` varchar(200) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
增加功能:融合第三方平台
tpl\User\default\Public_head.html 添加菜单项目
Lib\Action\User\Include3rdAction.class.php
D:\work\pigcms v6.2\phpwind\PigCms\Lib\Model\User\Include3rdModel.class.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment