作者 lyh

gx

@@ -538,7 +538,7 @@ class BTemplateLogic extends BaseLogic @@ -538,7 +538,7 @@ class BTemplateLogic extends BaseLogic
538 * @method :post 538 * @method :post
539 * @time :2023/7/31 16:05 539 * @time :2023/7/31 16:05
540 */ 540 */
541 - public function homeOrProduct($source,$source_id = '',$is_custom = 0){ 541 + public function homeOrProduct($source,$source_id = 0,$is_custom = 0){
542 if($is_custom == 0){ 542 if($is_custom == 0){
543 if($source == BTemplate::SOURCE_HOME){ 543 if($source == BTemplate::SOURCE_HOME){
544 RouteMap::setRoute('index', RouteMap::SOURCE_PAGE, 0, $this->user['project_id']); 544 RouteMap::setRoute('index', RouteMap::SOURCE_PAGE, 0, $this->user['project_id']);