瀏覽代碼

字段与备注调整

lizhen_gitee 6 月之前
父節點
當前提交
afc6d2d8db
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 2 2
      application/admin/lang/en/lessonslot.php
  2. 4 4
      application/api/controller/Usercenter.php

+ 2 - 2
application/admin/lang/en/lessonslot.php

@@ -16,8 +16,8 @@ return [
     'Status 0'        => 'Signing up',
     'Status 20'       => 'Signed in',
     'Status 30'       => 'canceled',
-    'Remark'          => 'Remark',
-    'Remark_en'          => 'Remark(en)',
+    'Remark'          => 'Note',
+    'Remark_en'          => 'Note(en)',
     'Notice_status'   => 'Planned task',
     'Notice_status 0' => 'Failure to advise',
     'Notice_status 1' => 'Have notified',

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

@@ -519,10 +519,10 @@ class Usercenter extends Api
 
             //预约情况
             $yuyue = $order['usernumber'] .' 人预约' . ($order['jointype'] == 1 ? '' : '(候补)');
-            $yuyue_en = $order['usernumber'] . ($order['jointype'] == 1 ? ' booked' : ' candidate');
+            $yuyue_en = $order['usernumber'] . ($order['jointype'] == 1 ? ' Booked' : ' Candidate');
             $yuyue = $this->lang == 'en' ? $yuyue_en : $yuyue;
 
-            $order['coach_text'] = $yuyue.'|'.$order['coach_text'];
+            $order['coach_text'] = $yuyue.' | '.$order['coach_text'];
 
             //放入支付套餐
             /*if($order['paytype'] == 1){
@@ -587,10 +587,10 @@ class Usercenter extends Api
 
             //预约情况
             $yuyue = $order['usernumber'] .' 人预约' . ($order['jointype'] == 1 ? '' : '(候补)');
-            $yuyue_en = $order['usernumber'] . ($order['jointype'] == 1 ? ' booked' : 'candidate');
+            $yuyue_en = $order['usernumber'] . ($order['jointype'] == 1 ? ' Booked' : 'Candidate');
             $yuyue = $this->lang == 'en' ? $yuyue_en : $yuyue;
 
-            $order['coach_text'] = $yuyue.'|'.$order['coach_text'];
+            $order['coach_text'] = $yuyue.' | '.$order['coach_text'];
 
             //放入支付套餐
             /*if($order['paytype'] == 1){