Authored by whb

修改

@@ -3,6 +3,7 @@ ALTER TABLE `yohood`.`tbl_brand` ADD COLUMN `link` VARCHAR(255) NULL AFTER `news @@ -3,6 +3,7 @@ ALTER TABLE `yohood`.`tbl_brand` ADD COLUMN `link` VARCHAR(255) NULL AFTER `news
3 ALTER TABLE `yohood`.`tbl_index` CHANGE `type` `type` TINYINT(2) DEFAULT '0' NOT NULL COMMENT '1:首页banner,2:广告,3:品牌广告, 4:详情页广告位'; 3 ALTER TABLE `yohood`.`tbl_index` CHANGE `type` `type` TINYINT(2) DEFAULT '0' NOT NULL COMMENT '1:首页banner,2:广告,3:品牌广告, 4:详情页广告位';
4 ALTER TABLE `yohood`.`tbl_partner` ADD COLUMN `type` TINYINT(2) NULL AFTER `id`; 4 ALTER TABLE `yohood`.`tbl_partner` ADD COLUMN `type` TINYINT(2) NULL AFTER `id`;
5 ALTER TABLE `yohood`.`tbl_activity_plan` ADD COLUMN `parent_id` INT(10) DEFAULT '0' NULL AFTER `id`; 5 ALTER TABLE `yohood`.`tbl_activity_plan` ADD COLUMN `parent_id` INT(10) DEFAULT '0' NULL AFTER `id`;
  6 +ALTER TABLE `yohood`.`tbl_index` ADD COLUMN `res_size` VARCHAR(100) NULL AFTER `sort`;
6 ALTER TABLE `yohood`.`tbl_news` ADD COLUMN `pics` VARCHAR(1000) NULL COMMENT '图片列表' AFTER `content`; 7 ALTER TABLE `yohood`.`tbl_news` ADD COLUMN `pics` VARCHAR(1000) NULL COMMENT '图片列表' AFTER `content`;
7 /**现场主题**/ 8 /**现场主题**/
8 CREATE TABLE `tbl_activity_topic` ( 9 CREATE TABLE `tbl_activity_topic` (
@@ -72,7 +72,7 @@ class Controller_Show extends Controller_Abstract @@ -72,7 +72,7 @@ class Controller_Show extends Controller_Abstract
72 'offset'=> $offset, 72 'offset'=> $offset,
73 'limit' => $limit, 73 'limit' => $limit,
74 ); 74 );
75 - $data = Util_Curl::get('http://show.test.yoho.cn/api/yohood/topic?'.http_build_query($params)); 75 + $data = Util_Curl::get('http://www.yohoshow.com/api/yohood/topic?'.http_build_query($params));
76 $data = json_decode($data, true); 76 $data = json_decode($data, true);
77 if(!empty($data['data'])) 77 if(!empty($data['data']))
78 { 78 {