@@ -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)',
@@ -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']);