Explorar o código

none:week,low,medium:month

zz %!s(int64=5) %!d(string=hai) anos
pai
achega
bbab89a9bc

+ 2 - 2
app/Http/Controllers/Wap/Order/OrdersController.php

@@ -942,7 +942,7 @@ class OrdersController extends BaseController
         ) {
             if(!UserMonthService::isSignMonth($openid)){
                 try{
-                    if(in_array($property,['none','medium'])){
+                    if(in_array($property,['low','medium'])){
                         $type = 'MONTH';
                     }else{
                         $type = 'WEEK';
@@ -984,7 +984,7 @@ class OrdersController extends BaseController
                 return $ret;
             }
             if(!UserMonthService::isSignMonth($openid)){
-                if($property == 'low'){
+                if($property == 'none'){
                     $attach = $this->uid %2 == 0 ? 'week-show':'week-hide';
                 }else{
                     $attach = $this->uid %2 == 0 ? 'show':'hide';

+ 2 - 2
app/Http/Controllers/Wap/Web/WelcomeController.php

@@ -2413,7 +2413,7 @@ class WelcomeController extends BaseController
             if (!UserMonthService::isSignMonth($openid)) {
                 $start_time = redisEnv('MONTH_TEMPLATE_COMPARE_START_TIME', 0);
                 if (!$start_time || (strtotime($this->user->created_at) < $start_time)) {
-                    if ($property == 'low') {
+                    if ($property == 'none') {
                         return [
                             'price' => '7元',
                             'text' => '7元包周 全站万本精彩小说免费看',
@@ -2433,7 +2433,7 @@ class WelcomeController extends BaseController
                 }
                 $attach = $this->uid % 2 == 0 ? 'show' : 'hide';
                 if ($attach == 'hide') return '';
-                if ($property == 'low') {
+                if ($property == 'none') {
                     return [
                         'price' => '7元',
                         'text' => '7元包周 全站万本精彩小说免费看',