作者 lyh

gx

  1 +<?php
  2 +/**
  3 + * @remark :
  4 + * @name :ProjectKeywordController.php
  5 + * @author :lyh
  6 + * @method :post
  7 + * @time :2023/12/26 9:22
  8 + */
  9 +
  10 +namespace App\Http\Controllers\Bside\Keyword;
  11 +
  12 +use App\Http\Controllers\Bside\BaseController;
  13 +
  14 +class ProjectKeywordController extends BaseController
  15 +{
  16 + public function lists(){
  17 +
  18 + }
  19 +}
@@ -89,7 +89,7 @@ class BTemplateLogic extends BaseLogic @@ -89,7 +89,7 @@ class BTemplateLogic extends BaseLogic
89 $type = $this->getCustomizedType($source, $source_id);//定制获取头部底部类型 89 $type = $this->getCustomizedType($source, $source_id);//定制获取头部底部类型
90 $commonInfo = $this->getCommonPage($type,$this->user['project_id'],0);//获取定制头部 90 $commonInfo = $this->getCommonPage($type,$this->user['project_id'],0);//获取定制头部
91 $html = $this->handleAllHtml($commonInfo,$templateInfo['html']); 91 $html = $this->handleAllHtml($commonInfo,$templateInfo['html']);
92 - return $this->success(['html'=>$html,'template_id'=>$template_id,'id'=>$templateInfo['id']]); 92 + return $this->success(['html'=>$html,'template_id'=>$template_id,'id'=>$templateInfo['id'],'updated_at'=>$templateInfo['updated_at']]);
93 } 93 }
94 $mainInfo = ['main_html'=>$templateInfo['main_html'], 'main_css'=>$templateInfo['main_css']]; 94 $mainInfo = ['main_html'=>$templateInfo['main_html'], 'main_css'=>$templateInfo['main_css']];
95 } 95 }
@@ -25,7 +25,7 @@ class NewsRequest extends FormRequest @@ -25,7 +25,7 @@ class NewsRequest extends FormRequest
25 { 25 {
26 return [ 26 return [
27 'name'=>'required|max:100', 27 'name'=>'required|max:100',
28 - 'remark'=>'max:255', 28 + 'remark'=>'max:500',
29 'url'=>'required', 29 'url'=>'required',
30 ]; 30 ];
31 } 31 }
@@ -34,9 +34,9 @@ class NewsRequest extends FormRequest @@ -34,9 +34,9 @@ class NewsRequest extends FormRequest
34 { 34 {
35 return [ 35 return [
36 'name.required'=>'请填写名称', 36 'name.required'=>'请填写名称',
37 - 'name.max'=>'名称超过最长长度', 37 + 'name.max'=>'名称超过最长长度100',
38 'url.required'=>'链接不能为空', 38 'url.required'=>'链接不能为空',
39 - 'remark.max'=>'描述超过最长长度' 39 + 'remark.max'=>'描述超过最长长度500'
40 ]; 40 ];
41 } 41 }
42 } 42 }