|
@@ -36,7 +36,8 @@ export default {
|
|
|
public: {
|
|
|
bid: '',
|
|
|
chapter_id: '',
|
|
|
- send_order_id: ""
|
|
|
+ send_order_id: "",
|
|
|
+ canReadecid: ""
|
|
|
},
|
|
|
private: {
|
|
|
bookinfo: {},
|
|
@@ -85,6 +86,7 @@ export default {
|
|
|
console.log('f code')
|
|
|
console.log(f.data)
|
|
|
if (f.data.code == '10014' || f.data.code == '10015') {
|
|
|
+ this.getChapters(bid, this.canReadecid)
|
|
|
router.push({
|
|
|
uri: "/views/Pay",
|
|
|
params: {
|
|
@@ -96,6 +98,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
} else if (e.data.code == '10014' || e.data.code == '10015') {
|
|
|
+ this.getChapters(bid, this.canReadecid)
|
|
|
router.push({
|
|
|
uri: "/views/Pay",
|
|
|
params: {
|
|
@@ -123,7 +126,8 @@ export default {
|
|
|
uri: "/views/Reader",
|
|
|
params: {
|
|
|
bid: this.bookinfo.bid,
|
|
|
- chapter_id: this.bookinfo.prev_cid
|
|
|
+ chapter_id: this.bookinfo.prev_cid,
|
|
|
+ canReadecid: this.bookinfo.chapter_id
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -143,7 +147,8 @@ export default {
|
|
|
uri: "/views/Reader",
|
|
|
params: {
|
|
|
bid: this.bookinfo.bid,
|
|
|
- chapter_id: this.bookinfo.next_cid
|
|
|
+ chapter_id: this.bookinfo.next_cid,
|
|
|
+ canReadecid: this.bookinfo.chapter_id
|
|
|
}
|
|
|
})
|
|
|
}
|