@@ -126,9 +126,9 @@ class RensheService
public function jobInfoByComId($id)
{
//线上环境才同步
- if (env('APP_DEBUG')) {
+ /*if (env('APP_DEBUG')) {
return ['code' => 200];
- }
+ }*/
$this->_jobInfoData($id);
$res = $this->jobInfo();
@@ -1,8 +0,0 @@
-<IfModule mod_rewrite.c>
- Options +FollowSymlinks -Multiviews
- RewriteEngine On
-
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
-</IfModule>
@@ -1 +0,0 @@
-open_basedir=/www/wwwroot/linggongjinjianghccom/:/tmp/
@@ -0,0 +1,5 @@
+location / {
+ if (!-f $request_filename) {
+ rewrite ^(.*)$ /index.php?s=/$1 last;
+ }
+}