合并分支 'akun' 到 'master'
Akun 查看合并请求 !104
正在显示
4 个修改的文件
包含
5 行增加
和
8 行删除
| @@ -292,8 +292,7 @@ class BlogLogic extends BaseLogic | @@ -292,8 +292,7 @@ class BlogLogic extends BaseLogic | ||
| 292 | 'operator_id' => $user_id, | 292 | 'operator_id' => $user_id, |
| 293 | 'create_id' => $user_id, | 293 | 'create_id' => $user_id, |
| 294 | 'status' => Blog::STATUS_ONE, | 294 | 'status' => Blog::STATUS_ONE, |
| 295 | - 'url' => '', | ||
| 296 | - 'is_upgrade'=>1 | 295 | + 'url' => '' |
| 297 | ] | 296 | ] |
| 298 | ); | 297 | ); |
| 299 | //更新路由 | 298 | //更新路由 |
| @@ -328,8 +328,7 @@ class NewsLogic extends BaseLogic | @@ -328,8 +328,7 @@ class NewsLogic extends BaseLogic | ||
| 328 | 'operator_id' => $user_id, | 328 | 'operator_id' => $user_id, |
| 329 | 'create_id' => $user_id, | 329 | 'create_id' => $user_id, |
| 330 | 'status' => News::STATUS_ONE, | 330 | 'status' => News::STATUS_ONE, |
| 331 | - 'url' => '', | ||
| 332 | - 'is_upgrade'=>1 | 331 | + 'url' => '' |
| 333 | ] | 332 | ] |
| 334 | ); | 333 | ); |
| 335 | //更新路由 | 334 | //更新路由 |
| @@ -637,8 +637,7 @@ class ProductLogic extends BaseLogic | @@ -637,8 +637,7 @@ class ProductLogic extends BaseLogic | ||
| 637 | 'content' => $content, | 637 | 'content' => $content, |
| 638 | 'seo_mate' => Arr::a2s($seo_mate), | 638 | 'seo_mate' => Arr::a2s($seo_mate), |
| 639 | 'created_uid' => $user_id, | 639 | 'created_uid' => $user_id, |
| 640 | - 'status' => Product::STATUS_ON, | ||
| 641 | - 'is_upgrade'=>1 | 640 | + 'status' => Product::STATUS_ON |
| 642 | ] | 641 | ] |
| 643 | ); | 642 | ); |
| 644 | //更新路由 | 643 | //更新路由 |
| @@ -34,7 +34,7 @@ class UpdateLog extends Model | @@ -34,7 +34,7 @@ class UpdateLog extends Model | ||
| 34 | $log->api_type = $type; | 34 | $log->api_type = $type; |
| 35 | $log->api_url = $url; | 35 | $log->api_url = $url; |
| 36 | $log->sort = $type == 'category' ? 0 : 1; | 36 | $log->sort = $type == 'category' ? 0 : 1; |
| 37 | - $log->collect_status = ($type == 'category' || $type == 'website_info') ? 1 : 0; | 37 | + $log->collect_status = ($type == 'category' || $type == 'website_info' || $type == 'tag') ? 1 : 0; |
| 38 | return $log->save(); | 38 | return $log->save(); |
| 39 | } | 39 | } |
| 40 | return true; | 40 | return true; |
| @@ -58,7 +58,7 @@ class UpdateLog extends Model | @@ -58,7 +58,7 @@ class UpdateLog extends Model | ||
| 58 | } | 58 | } |
| 59 | $log->save(); | 59 | $log->save(); |
| 60 | } | 60 | } |
| 61 | - | 61 | + |
| 62 | return true; | 62 | return true; |
| 63 | } | 63 | } |
| 64 | } | 64 | } |
-
请 注册 或 登录 后发表评论