作者 李宇航

合并分支 'lyh-server' 到 'master'

gx企业产品库



查看合并请求 !1575
<?php
/**
* @remark :
* @name :EnterpriseProductController.php
* @author :lyh
* @method :post
* @time :2025/3/26 11:05
*/
namespace App\Http\Logic\Bside\SeoSetting;
use App\Enums\Common\Code;
use App\Http\Controllers\Bside\BaseController;
use App\Models\Project\EnterpriseProduct;
/**
* @remark :企业产品库
* @name :EnterpriseProductController
* @author :lyh
* @method :post
* @time :2025/3/26 11:05
*/
class EnterpriseProductController extends BaseController
{
/**
* @remark :获取产品库
* @name :getEnterProduct
* @author :lyh
* @method :post
* @time :2025/3/26 11:06
*/
public function getEnterProduct(EnterpriseProduct $enterpriseProduct){
$this->map['project_id'] = $this->user['project_id'];
$data = $enterpriseProduct->list($this->map,$this->page,$this->row);
$this->response('success',Code::SUCCESS,$data);
}
}
... ...
... ... @@ -700,6 +700,11 @@ Route::middleware(['bloginauth'])->group(function () {
Route::prefix('google_keyword_insight')->group(function () {
Route::any('/getKeywordInsight', [\App\Http\Controllers\Bside\GoogleKeywordInsight\GoogleKeywordInsightController::class, 'getKeywordInsight'])->name('google_keyword_insight_getKeywordInsight');
});
//企业产品库
Route::prefix('enterprise_product')->group(function () {
Route::any('/getEnterProduct', [\App\Http\Logic\Bside\SeoSetting\EnterpriseProductController::class, 'getEnterProduct'])->name('enterprise_product_getEnterProduct');
});
});
//无需登录验证的路由组
Route::group([], function () {
... ...