Przeglądaj źródła

2 yuan template no bid not exist

zz 6 lat temu
rodzic
commit
1b3773b805

+ 4 - 1
app/Http/Controllers/Wap/Order/OrdersController.php

@@ -268,7 +268,10 @@ class OrdersController extends BaseController
             if ($template_id == 7 && $book_config && $book_config->charge_type == 'BOOK' && $v->price == 2) {
                 continue;
             }
-
+            if($template_id == 2 && $v->type == 'NEW_USER' && !$bid){
+                //2元模版,直接进充值,不出现
+                continue;
+            }
             if ($v->type == 'NEW_USER' && $is_first_recharge) {
                 if (env('NO_NEW_USER_CHARGE') &&
                     in_array(