|
@@ -77,10 +77,10 @@ export class level_list extends Component {
|
|
|
requestData() {
|
|
|
this.content.removeAllChildren()
|
|
|
|
|
|
- let stype = 0 //0:短篇 1:长篇
|
|
|
+ let stype = config.LevelType.LEVEL //0:关卡,1:长篇
|
|
|
let book_id = 0
|
|
|
if(this.m_long_story_list_data) {
|
|
|
- stype = 1
|
|
|
+ stype = config.LevelType.LONG_STORY
|
|
|
book_id = this.m_long_story_list_data.id
|
|
|
}
|
|
|
let opt = {"stype":stype,"book_id":book_id,"page":this.m_cur_page,"limit":this.m_every_page_count}
|