新增伪静态文件

This commit is contained in:
liaofei 2019-11-18 15:11:09 +08:00
parent 6704891805
commit ce59480a7a
2 changed files with 14 additions and 8 deletions

View File

@ -44,15 +44,15 @@ class Template
* @var array 'defaultData'=>[[],'array'] 生成的方法为 setDefaultData(array $value)
*/
protected $propsRule = [
'defaultData' => '',
'templateCode' => [null,'string'],
'defaultData' => [null, 'string'],
'templateCode' => [null, 'string'],
'templateData' => [[],'array'],
'templateUrl' => [null,'callable','postpositionUrl'],
'templateFormId' => [null,'string'],
'sendType' => [null,'string'],
'templateOpenId' => [null,'string'],
'templateOpenId' => [null,'string'],
'templateDefaultColor' => [null,'string'],
'templateUrl' => [null, 'callable', 'postpositionUrl'],
'templateFormId' => [null, 'string'],
'sendType' => [null, 'string'],
'templateOpenId' => [null, 'string'],
'templateOpenId' => [null, 'string'],
'templateDefaultColor' => [null, 'string'],
];
/**

View File

@ -0,0 +1,6 @@
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}