Browse Source

语言包

lizhen_gitee 5 months ago
parent
commit
ebd819fff0
2 changed files with 3 additions and 3 deletions
  1. 2 2
      application/admin/lang/en/lesson.php
  2. 1 1
      application/api/controller/Lesson.php

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

@@ -12,8 +12,8 @@ return [
     'Is_show 1'     => 'show',
     'Is_show 0'     => 'hidden',
     'Type'          => 'class type',
-    'Type 1'        => 'default',
-    'Type 2'        => 'private',
+    'Type 1'        => 'Standard Lessons',
+    'Type 2'        => 'Private Lessons',
     'Weigh'         => 'Weigh',
     'Title'            => 'Title',
     'Title_en'         => 'Title(en)',

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

@@ -17,7 +17,7 @@ class Lesson extends Api
     //售课列表
     public function lists(){
 
-        $list = Db::name('lesson')->where('is_show',1)->order('weigh desc')->autopage()->select();
+        $list = Db::name('lesson')->where('is_show',1)->order('weigh asc')->autopage()->select();
         $list = list_domain_image($list,['image']);
         $list = $this->list_lang($list,['name','title','info','shiherenqun','pingjunrenshu','sirenkecheng','daoshi']);