|
@@ -27,6 +27,16 @@ export class tools {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ public static gotoBookdetails(book_id:Number) {
|
|
|
+ if(book_id) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'/pages/bookdetails/bookdetails?book_id='+book_id
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ log.Error('书详情id错误')
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
public static getChapterList(chapter_path:string,cb:Function){
|
|
|
http.StaticRequest(chapter_path,(err,data)=>{
|