<?php
//升级数据表
pdo_query("CREATE TABLE IF NOT EXISTS `ims_ox_reclaim_address` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`uid` int(10) DEFAULT NULL,
`uniacid` int(10) DEFAULT NULL,
`latitude` decimal(10,4) DEFAULT NULL COMMENT 'mapx',
`longitude` decimal(11,4) DEFAULT NULL COMMENT 'mapy',
`province` varchar(20) DEFAULT NULL COMMENT '省',
`city` varchar(20) DEFAULT NULL COMMENT '市',
`district` varchar(20) DEFAULT NULL COMMENT '区/县',
`name` varchar(20) DEFAULT NULL COMMENT '联系人',
`phone` varchar(11) DEFAULT NULL COMMENT '联系方式',
`address` varchar(50) DEFAULT NULL COMMENT '服务地址',
`address_detail` varchar(50) DEFAULT NULL COMMENT '详细地址',
`default` tinyint(4) DEFAULT NULL COMMENT '1 是默认',
`create_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
");
if(!pdo_fieldexists('ox_reclaim_address','id')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD
`id` int(10) NOT NULL AUTO_INCREMENT");}
if(!pdo_fieldexists('ox_reclaim_address','uid')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `uid` int(10) DEFAULT NULL");}
if(!pdo_fieldexists('ox_reclaim_address','uniacid')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `uniacid` int(10) DEFAULT NULL");}
if(!pdo_fieldexists('ox_reclaim_address','latitude')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `latitude` decimal(10,4) DEFAULT NULL COMMENT 'mapx'");}
if(!pdo_fieldexists('ox_reclaim_address','longitude')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `longitude` decimal(11,4) DEFAULT NULL COMMENT 'mapy'");}
if(!pdo_fieldexists('ox_reclaim_address','province')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `province` varchar(20) DEFAULT NULL COMMENT '省'");}
if(!pdo_fieldexists('ox_reclaim_address','city')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `city` varchar(20) DEFAULT NULL COMMENT '市'");}
if(!pdo_fieldexists('ox_reclaim_address','district')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `district` varchar(20) DEFAULT NULL COMMENT '区/县'");}
if(!pdo_fieldexists('ox_reclaim_address','name')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `name` varchar(20) DEFAULT NULL COMMENT '联系人'");}
if(!pdo_fieldexists('ox_reclaim_address','phone')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `phone` varchar(11) DEFAULT NULL COMMENT '联系方式'");}
if(!pdo_fieldexists('ox_reclaim_address','address')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `address` varchar(50) DEFAULT NULL COMMENT '服务地址'");}
if(!pdo_fieldexists('ox_reclaim_address','address_detail')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `address_detail` varchar(50) DEFAULT NULL COMMENT '详细地址'");}
if(!pdo_fieldexists('ox_reclaim_address','default')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `default` tinyint(4) DEFAULT NULL COMMENT '1 是默认'");}
if(!pdo_fieldexists('ox_reclaim_address','create_time')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_address')." ADD `create_time` int(11) DEFAULT NULL");}
pdo_query("CREATE TABLE IF NOT EXISTS `ims_ox_reclaim_banner` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增id',
`uniacid` int(10) DEFAULT NULL COMMENT '小程序id',
`img` varchar(100) DEFAULT NULL COMMENT '图片地址',
`url` varchar(255) DEFAULT NULL COMMENT '链接地址',
`sort` int(10) DEFAULT NULL COMMENT '排序',
`create_time` int(10) DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
");
if(!pdo_fieldexists('ox_reclaim_banner','id')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_banner')." ADD
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增id'");}
if(!pdo_fieldexists('ox_reclaim_banner','uniacid')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_banner')." ADD `uniacid` int(10) DEFAULT NULL COMMENT '小程序id'");}
if(!pdo_fieldexists('ox_reclaim_banner','img')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_banner')." ADD `img` varchar(100) DEFAULT NULL COMMENT '图片地址'");}
if(!pdo_fieldexists('ox_reclaim_banner','url')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_banner')." ADD `url` varchar(255) DEFAULT NULL COMMENT '链接地址'");}
if(!pdo_fieldexists('ox_reclaim_banner','sort')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_banner')." ADD `sort` int(10) DEFAULT NULL COMMENT '排序'");}
if(!pdo_fieldexists('ox_reclaim_banner','create_time')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_banner')." ADD `create_time` int(10) DEFAULT NULL COMMENT '创建时间'");}
pdo_query("CREATE TABLE IF NOT EXISTS `ims_ox_reclaim_city` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '开通城市id',
`uniacid` int(10) DEFAULT NULL COMMENT '小程序id',
`province` varchar(20) DEFAULT NULL COMMENT '省份名称',
`city_name` varchar(20) DEFAULT NULL COMMENT '城市名称',
`status` tinyint(4) DEFAULT '0' COMMENT '开通状态 0 未开通 1 已开通',
`create_time` int(10) DEFAULT NULL COMMENT '申请时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
");
if(!pdo_fieldexists('ox_reclaim_city','id')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_city')." ADD
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '开通城市id'");}
if(!pdo_fieldexists('ox_reclaim_city','uniacid')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_city')." ADD `uniacid` int(10) DEFAULT NULL COMMENT '小程序id'");}
if(!pdo_fieldexists('ox_reclaim_city','province')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_city')." ADD `province` varchar(20) DEFAULT NULL COMMENT '省份名称'");}
if(!pdo_fieldexists('ox_reclaim_city','city_name')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_city')." ADD `city_name` varchar(20) DEFAULT NULL COMMENT '城市名称'");}
if(!pdo_fieldexists('ox_reclaim_city','status')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_city')." ADD `status` tinyint(4) DEFAULT '0' COMMENT '开通状态 0 未开通 1 已开通'");}
if(!pdo_fieldexists('ox_reclaim_city','create_time')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_city')." ADD `create_time` int(10) DEFAULT NULL COMMENT '申请时间'");}
pdo_query("CREATE TABLE IF NOT EXISTS `ims_ox_reclaim_cycle` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`uniacid` int(10) DEFAULT NULL,
`uid` int(10) DEFAULT NULL,
`order_id` int(10) DEFAULT NULL COMMENT '订单id',
`account` decimal(10,2) DEFAULT NULL COMMENT '订单金额',
`create_time` int(10) DEFAULT NULL COMMENT '创建时间',
`admin_uid` int(11) unsigned DEFAULT NULL COMMENT '操作员id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
");
if(!pdo_fieldexists('ox_reclaim_cycle','id')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_cycle')." ADD
`id` int(10) NOT NULL AUTO_INCREMENT");}
if(!pdo_fieldexists('ox_reclaim_cycle','uniacid')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_cycle')." ADD `uniacid` int(10) DEFAULT NULL");}
if(!pdo_fieldexists('ox_reclaim_cycle','uid')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_cycle')." ADD `uid` int(10) DEFAULT NULL");}
if(!pdo_fieldexists('ox_reclaim_cycle','order_id')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_cycle')." ADD `order_id` int(10) DEFAULT NULL COMMENT '订单id'");}
if(!pdo_fieldexists('ox_reclaim_cycle','account')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_cycle')." ADD `account` decimal(10,2) DEFAULT NULL COMMENT '订单金额'");}
if(!pdo_fieldexists('ox_reclaim_cycle','create_time')) {pdo_query("ALTER TABLE ".tablename('ox_reclaim_cycle')." ADD `create_time` int(10) DEFAULT NULL COMMENT '创建时间'");}
if(!pdo_fieldexists('ox_reclaim_cycle','admin_uid')) {pdo_query("ALT
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
66936+零象废品回收小程序V2.3.0+前端+开源版.rar (486个子文件)
bootstrap.min.css 133KB
style.css 112KB
icomoon-weather.css 83KB
jquery-weui.min.css 55KB
weui.css 50KB
jquery-ui-1.10.1.custom.css 34KB
font-awesome.css 28KB
jquery-ui-1.10.1.custom.min.css 26KB
jquery-ui-1.10.3.css 19KB
layer.css 14KB
layer.css 14KB
layer.css 14KB
simple-line-icons.css 11KB
style-responsive.css 9KB
bootstrap-reset.css 8KB
common-reset.css 6KB
layer.css 5KB
layer.css 5KB
layer.css 5KB
css.css 4KB
slidebars.css 4KB
new_file.css 3KB
member.css 3KB
details.css 3KB
reset.css 2KB
index.css 2KB
default-theme.css 2KB
mybuy.css 1KB
tagsinput.css 1KB
switchery.css 1KB
account.css 686B
switchery.min.css 682B
message.css 672B
profile.css 430B
publish.css 404B
auth.css 308B
fontawesome-webfont.eot 55KB
Simple-Line-Icons.eot 35KB
icomoon.eot 29KB
glyphicons-halflings-regular.eot 20KB
jiazai.gif 9KB
loading-0.gif 6KB
loading-0.gif 6KB
loading-0.gif 6KB
select2-spinner.gif 2KB
spinner.gif 2KB
loading-2.gif 2KB
loading-2.gif 2KB
loading-2.gif 2KB
loading-1.gif 701B
loading-1.gif 701B
loading-1.gif 701B
blank-page.html 21KB
index.html 9KB
index-fuben.html 5KB
wxapp.html 5KB
header.html 5KB
adminList.html 5KB
menu.html 4KB
adminList.html 4KB
header_idx.html 4KB
memberList.html 4KB
message.html 4KB
uniform.html 4KB
goods_info.html 4KB
type.html 4KB
index.html 4KB
pages_add.html 4KB
rule.html 3KB
goodsadd.html 3KB
takeList.html 3KB
goodslist.html 3KB
pagesList.html 3KB
orderList.html 3KB
blackList.html 3KB
order.html 3KB
prove.html 3KB
priceList.html 3KB
logList.html 3KB
cycleList.html 3KB
lunbo.html 3KB
price_add.html 3KB
type_add.html 3KB
prove_info.html 2KB
admin_edit.html 2KB
index.html 2KB
index.html 2KB
rule_add.html 2KB
apply.html 2KB
about.html 2KB
lunbo_add.html 2KB
about_add.html 1KB
money_log.html 1KB
footer.html 757B
banner_02.jpg 102KB
datashouru.02dbfe3.jpg 60KB
index-sort.jpg 58KB
icon.jpg 49KB
index-sort2.jpg 38KB
AT0324.jpg 31KB
共 486 条
- 1
- 2
- 3
- 4
- 5
资源评论
- kiven362020-03-29不能用啊 少文件啊!
cl173339545
- 粉丝: 2
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 离线安装包 Adobe Flash Player 32.0.0.156 for Linux 32-bit PPAPI
- javaweb作业jsp内置对象作业:简单购物车功能
- 【java毕业设计】野生动物公益保护系统源码(ssm+mysql+说明文档+LW).zip
- 离线安装包 Adobe Flash Player 32.0.0.156 for Linux 64-bit NPAPI
- 单片机测频率DSN
- 【java毕业设计】学习交流平台源码(ssm+mysql+说明文档+LW).zip
- Jsp内置对象作业:Session、Cookie实现登录功能,记住用户密码功能等
- 【java毕业设计】融资租赁管理系统源码(ssm+mysql+说明文档+LW).zip
- 离线安装包 Adobe Flash Player 32.0.0.156 for Linux 64-bit PPAPI
- 黑客与渗透测试编程之道.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功