Commit a594426896089baab5eba29628944ae41e587cf7

Authored by wangfan
1 parent ae814d26

seller nav

@@ -73,7 +73,7 @@ @@ -73,7 +73,7 @@
73 "id": 6, 73 "id": 6,
74 "name": "pages/customer/index", 74 "name": "pages/customer/index",
75 "pathName": "pages/customer/index", 75 "pathName": "pages/customer/index",
76 - "query": "", 76 + "query": "id=",
77 "scene": "1044", 77 "scene": "1044",
78 "shareInfo": { 78 "shareInfo": {
79 "groupName": "测试模拟群1", 79 "groupName": "测试模拟群1",
@@ -74,7 +74,7 @@ function rpc(host='',act,data={},fouce=false,header={},silence=true,cachetime=0, @@ -74,7 +74,7 @@ function rpc(host='',act,data={},fouce=false,header={},silence=true,cachetime=0,
74 console.log('request.api==>',host+cache_key+'\nrequest.success',res.data); 74 console.log('request.api==>',host+cache_key+'\nrequest.success',res.data);
75 // return; 75 // return;
76 if(res.data){ 76 if(res.data){
77 - if(cachetime!=0 && res.data.ret==200 && res.data.data && res.data.data.length>0){ 77 + if(cachetime!=0 && res.data.ret==200 && res.data.data){
78 cache(cache_key,res.data,cachetime);//.then().catch(); 78 cache(cache_key,res.data,cachetime);//.then().catch();
79 } 79 }
80 if(res.data.ret!==200){ 80 if(res.data.ret!==200){
@@ -26,7 +26,9 @@ export default { @@ -26,7 +26,9 @@ export default {
26 'App.Reserve.SetTopicFromShare':null, 26 'App.Reserve.SetTopicFromShare':null,
27 27
28 //列表----我的日程 28 //列表----我的日程
29 - 'App.Reserve.GetListFromScheAndRes':null, 29 + 'App.Reserve.GetListFromScheAndRes':{
  30 + cachetime:30,
  31 + },
30 32
31 //订座详情页面----我愿意 33 //订座详情页面----我愿意
32 'App.Reserve.SetRelaSuccess':null, 34 'App.Reserve.SetRelaSuccess':null,