Authored by whb

修改

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