mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-12 11:09:23 +00:00
新增伪静态文件
This commit is contained in:
parent
6704891805
commit
ce59480a7a
@ -44,15 +44,15 @@ class Template
|
|||||||
* @var array 'defaultData'=>[[],'array'] 生成的方法为 setDefaultData(array $value)
|
* @var array 'defaultData'=>[[],'array'] 生成的方法为 setDefaultData(array $value)
|
||||||
*/
|
*/
|
||||||
protected $propsRule = [
|
protected $propsRule = [
|
||||||
'defaultData' => '',
|
'defaultData' => [null, 'string'],
|
||||||
'templateCode' => [null,'string'],
|
'templateCode' => [null, 'string'],
|
||||||
'templateData' => [[],'array'],
|
'templateData' => [[],'array'],
|
||||||
'templateUrl' => [null,'callable','postpositionUrl'],
|
'templateUrl' => [null, 'callable', 'postpositionUrl'],
|
||||||
'templateFormId' => [null,'string'],
|
'templateFormId' => [null, 'string'],
|
||||||
'sendType' => [null,'string'],
|
'sendType' => [null, 'string'],
|
||||||
'templateOpenId' => [null,'string'],
|
'templateOpenId' => [null, 'string'],
|
||||||
'templateOpenId' => [null,'string'],
|
'templateOpenId' => [null, 'string'],
|
||||||
'templateDefaultColor' => [null,'string'],
|
'templateDefaultColor' => [null, 'string'],
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
6
crmeb/public/nginx.htaccess
Normal file
6
crmeb/public/nginx.htaccess
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
location / {
|
||||||
|
if (!-e $request_filename) {
|
||||||
|
rewrite ^(.*)$ /index.php?s=/$1 last;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user