Browse Source

各处时间格式

lizhen_gitee 9 months ago
parent
commit
4bc668d075

+ 1 - 1
application/api/controller/Usercenter.php

@@ -69,7 +69,7 @@ class Usercenter extends Api
             //日期
             $order['showtime_text'] = $this->date_lang($order['starttime']).'-'.$this->date_lang($order['endtime']);
 
-            $order['remark'] = '购买套餐赠送';
+            $order['remark'] = __('购买套餐赠送');
         }
 
         $this->success(1,$list);

+ 1 - 0
application/api/lang/en/usercenter.php

@@ -12,4 +12,5 @@ return [
     '不能转让给自己' => 'Cannot be transferred to oneself',
     '不存在的套餐订单' => 'Non existing package orders',
     '套餐剩余课时不足' => 'Insufficient remaining class hours in the package',
+    '购买套餐赠送' => 'complimentary by package',
 ];