wesmiler пре 3 месеци
родитељ
комит
056795def6
3 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      app/Helpers/common.php
  2. 1 1
      app/Services/Api/OrderService.php
  3. BIN
      public/uploads/temp/20210410081010.xlsx

+ 1 - 1
app/Helpers/common.php

@@ -759,7 +759,7 @@ if (!function_exists('get_order_num')) {
     function get_order_num($prefix = '')
     function get_order_num($prefix = '')
     {
     {
         $micro = substr(microtime(), 2, 2);
         $micro = substr(microtime(), 2, 2);
-        return $prefix . date("YmdHis") . $micro . rand(1000, 9999);
+        return $prefix . date("ymdHis") . $micro . rand(100, 999);
     }
     }
 
 
 }
 }

+ 1 - 1
app/Services/Api/OrderService.php

@@ -91,7 +91,7 @@ class OrderService extends BaseService
                 }
                 }
 
 
                 if($item['refund_status']>0){
                 if($item['refund_status']>0){
-                    $item['status_text'] = isset($refundStatusArr[$item['refund_status']]) ? $refundStatusArr[$item['refund_status']] : $item['status_text'];
+                    $item['status_text'] = '退款/售后';
                 }
                 }
 
 
                 $item['goods'] = isset($item['goods']) && $item['goods'] ? $item['goods'] : [];
                 $item['goods'] = isset($item['goods']) && $item['goods'] ? $item['goods'] : [];

BIN
public/uploads/temp/20210410081010.xlsx