Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6
正在显示
1 个修改的文件
包含
9 行增加
和
0 行删除
| @@ -608,6 +608,7 @@ class ProductLogic extends BaseLogic | @@ -608,6 +608,7 @@ class ProductLogic extends BaseLogic | ||
| 608 | $categoryLogic = new CategoryLogic(); | 608 | $categoryLogic = new CategoryLogic(); |
| 609 | $category_id = $categoryLogic->importProductCategory($project_id, $data[2]); | 609 | $category_id = $categoryLogic->importProductCategory($project_id, $data[2]); |
| 610 | } | 610 | } |
| 611 | + echo 'category'.PHP_EOL; | ||
| 611 | 612 | ||
| 612 | $keyword_id = ''; | 613 | $keyword_id = ''; |
| 613 | if($data[3]??''){ | 614 | if($data[3]??''){ |
| @@ -615,6 +616,7 @@ class ProductLogic extends BaseLogic | @@ -615,6 +616,7 @@ class ProductLogic extends BaseLogic | ||
| 615 | $keywordLogic = new KeywordLogic(); | 616 | $keywordLogic = new KeywordLogic(); |
| 616 | $keyword_id = $keywordLogic->importProductKeyword($project_id, $data[3]); | 617 | $keyword_id = $keywordLogic->importProductKeyword($project_id, $data[3]); |
| 617 | } | 618 | } |
| 619 | + echo 'keyword'.PHP_EOL; | ||
| 618 | 620 | ||
| 619 | $gallery = []; | 621 | $gallery = []; |
| 620 | $thumb = ''; | 622 | $thumb = ''; |
| @@ -639,6 +641,7 @@ class ProductLogic extends BaseLogic | @@ -639,6 +641,7 @@ class ProductLogic extends BaseLogic | ||
| 639 | } | 641 | } |
| 640 | } | 642 | } |
| 641 | } | 643 | } |
| 644 | + echo 'thumb'.PHP_EOL; | ||
| 642 | 645 | ||
| 643 | $intro = ''; | 646 | $intro = ''; |
| 644 | if($data[5]??''){ | 647 | if($data[5]??''){ |
| @@ -662,6 +665,7 @@ class ProductLogic extends BaseLogic | @@ -662,6 +665,7 @@ class ProductLogic extends BaseLogic | ||
| 662 | 665 | ||
| 663 | $intro = $data[5]; | 666 | $intro = $data[5]; |
| 664 | } | 667 | } |
| 668 | + echo 'intro'.PHP_EOL; | ||
| 665 | 669 | ||
| 666 | $content = ''; | 670 | $content = ''; |
| 667 | if($data[6]??''){ | 671 | if($data[6]??''){ |
| @@ -685,6 +689,7 @@ class ProductLogic extends BaseLogic | @@ -685,6 +689,7 @@ class ProductLogic extends BaseLogic | ||
| 685 | 689 | ||
| 686 | $content = $data[6]; | 690 | $content = $data[6]; |
| 687 | } | 691 | } |
| 692 | + echo 'content'.PHP_EOL; | ||
| 688 | 693 | ||
| 689 | //处理seo | 694 | //处理seo |
| 690 | $seo_title = ''; | 695 | $seo_title = ''; |
| @@ -701,6 +706,7 @@ class ProductLogic extends BaseLogic | @@ -701,6 +706,7 @@ class ProductLogic extends BaseLogic | ||
| 701 | if($data[10]??''){ | 706 | if($data[10]??''){ |
| 702 | $seo_description = substr(strip_tags($data[10]),0,200); | 707 | $seo_description = substr(strip_tags($data[10]),0,200); |
| 703 | } | 708 | } |
| 709 | + echo 'seo'.PHP_EOL; | ||
| 704 | 710 | ||
| 705 | $seo_mate = [ | 711 | $seo_mate = [ |
| 706 | 'title' => $seo_title, | 712 | 'title' => $seo_title, |
| @@ -725,6 +731,7 @@ class ProductLogic extends BaseLogic | @@ -725,6 +731,7 @@ class ProductLogic extends BaseLogic | ||
| 725 | } | 731 | } |
| 726 | } | 732 | } |
| 727 | } | 733 | } |
| 734 | + echo 'attr'.PHP_EOL; | ||
| 728 | 735 | ||
| 729 | //处理描述切换栏 | 736 | //处理描述切换栏 |
| 730 | $describe = []; | 737 | $describe = []; |
| @@ -755,6 +762,7 @@ class ProductLogic extends BaseLogic | @@ -755,6 +762,7 @@ class ProductLogic extends BaseLogic | ||
| 755 | break; | 762 | break; |
| 756 | } | 763 | } |
| 757 | } | 764 | } |
| 765 | + echo 'describe'.PHP_EOL; | ||
| 758 | 766 | ||
| 759 | $id = $this->model->addReturnId( | 767 | $id = $this->model->addReturnId( |
| 760 | [ | 768 | [ |
| @@ -773,6 +781,7 @@ class ProductLogic extends BaseLogic | @@ -773,6 +781,7 @@ class ProductLogic extends BaseLogic | ||
| 773 | 'status' => Product::STATUS_ON | 781 | 'status' => Product::STATUS_ON |
| 774 | ] | 782 | ] |
| 775 | ); | 783 | ); |
| 784 | + echo 'product'.PHP_EOL; | ||
| 776 | 785 | ||
| 777 | //更新路由 | 786 | //更新路由 |
| 778 | if($route){ | 787 | if($route){ |
-
请 注册 或 登录 后发表评论