|
...
|
...
|
@@ -7,15 +7,14 @@ use App\Helper\Arr; |
|
|
|
use App\Helper\FormGlobalsoApi;
|
|
|
|
use App\Http\Logic\Aside\BaseLogic;
|
|
|
|
use App\Http\Logic\Aside\Manage\ManageLogic;
|
|
|
|
use App\Models\ASide\Product\Product;
|
|
|
|
use App\Models\Blog\Blog;
|
|
|
|
use App\Models\Channel\Channel;
|
|
|
|
use App\Models\Channel\User;
|
|
|
|
use App\Models\Channel\Zone;
|
|
|
|
use App\Models\Devops\ServerConfig;
|
|
|
|
use App\Models\Inquiry\InquirySet;
|
|
|
|
use App\Models\Manage\Manage;
|
|
|
|
use App\Models\News\News;
|
|
|
|
use App\Models\Product\Product;
|
|
|
|
use App\Models\Project\DeployBuild;
|
|
|
|
use App\Models\Project\DeployOptimize;
|
|
|
|
use App\Models\Project\Payment;
|
|
...
|
...
|
@@ -67,7 +66,7 @@ class ProjectLogic extends BaseLogic |
|
|
|
'domain' => $item['deploy_optimize']['domain'] ?? 0,
|
|
|
|
'created_at' => date('Y年m月d日', strtotime($item['created_at'])),
|
|
|
|
'autologin_code' => $this->getAutoLoginCode($item['id']),
|
|
|
|
'product_num' => Product::getNumByProjectId($item['id']),
|
|
|
|
'product_num' => (new Product($item['id']))->getNumByProjectId($item['id']),
|
|
|
|
'keyword_num' => $item['deploy_build']['keyword_num'] ?? 0,
|
|
|
|
'article_num' => Blog::getNumByProjectId($item['id']) + News::getNumByProjectId($item['id']),
|
|
|
|
'task_finish_num' => Task::getNumByProjectId($item['id'], Task::STATUS_DOWN),
|
...
|
...
|
|