|
@@ -226,6 +226,8 @@ export function getSignRecord(page = 1) {
|
|
|
return axios(`/user/sign_record?page=${page}`);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+const sendid = localStorage.getItem('sendid')
|
|
|
//获取章节内容
|
|
|
// 创建一个同款推荐的缓存池
|
|
|
|
|
@@ -252,10 +254,10 @@ let content = new cache({
|
|
|
|
|
|
export function getContent(bid, cid, adStatus = 0, from, code = "") {
|
|
|
let url = options.adTargetId
|
|
|
- ? `/books/${bid}/chapters/${cid}?ad_status=${adStatus}&page_from=${from}&code=${encodeURIComponent(
|
|
|
+ ? `/books/${bid}/chapters/${cid}?ad_status=${adStatus}&page_from=${from}&send_oerder_id=${sendid}&code=${encodeURIComponent(
|
|
|
code
|
|
|
)}`
|
|
|
- : `/books/${bid}/chapters/${cid}?page_from=${from}&code=${encodeURIComponent(
|
|
|
+ : `/books/${bid}/chapters/${cid}?page_from=${from}&send_oerder_id=${sendid}&code=${encodeURIComponent(
|
|
|
code
|
|
|
)}`;
|
|
|
return content
|
|
@@ -630,6 +632,6 @@ export function uuidsGetTokens(uuid) {
|
|
|
}
|
|
|
|
|
|
//记录用户加桌状态
|
|
|
-export function setUserMode(status) {
|
|
|
- return axios.post(`/setAddDeskStatus`, { add_desk_status: status });
|
|
|
+export function setUserMode(status,send_order_id) {
|
|
|
+ return axios.post(`/setAddDeskStatus`, { add_desk_status: status,send_order_id });
|
|
|
}
|