sunhao 5 lat temu
rodzic
commit
10bef90c2e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Http/Controllers/Admin/OrderController.php

+ 1 - 1
app/Http/Controllers/Admin/OrderController.php

@@ -957,7 +957,7 @@ class OrderController extends Controller
957 957
                 //判断生日礼
958 958
                 $birth_time = date('m', strtotime($customer_info->birthday));               
959 959
                 $tom = date('m');       
960
-                if($tom==$birth_stime){
960
+                if($tom==$birth_time){
961 961
                     //生日期内,判断是否已领
962 962
                     $if_b_gift = DB::table('customer_gift_receives')->where('phone', $phone)->where('is_del',0)->where('gift_type', 1)->where('dtime', '>=', $mtime)->first();
963 963
                     if(empty($if_b_gift)){