wesmiler 3 bulan lalu
induk
melakukan
056795def6
3 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      app/Helpers/common.php
  2. 1 1
      app/Services/Api/OrderService.php
  3. TEMPAT SAMPAH
      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 = '')
     {
         $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){
-                    $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'] : [];

TEMPAT SAMPAH
public/uploads/temp/20210410081010.xlsx