Authored by 毕凯

Merge branch 'feature/promotion' into 'release/5.4'

Feature/promotion



See merge request !112
@@ -25,8 +25,8 @@ exports.index = (req, res, next) => { @@ -25,8 +25,8 @@ exports.index = (req, res, next) => {
25 }; 25 };
26 26
27 let params = { 27 let params = {
28 - uid: req.user.uid,  
29 - shareUid: req.query.uid 28 + uid: req.query.uid || req.user.uid,
  29 + shareUid: req.query.userUid
30 }; 30 };
31 31
32 indexModel.index(params).then(result => { 32 indexModel.index(params).then(result => {
@@ -70,7 +70,7 @@ exports.school = (req, res, next) => { @@ -70,7 +70,7 @@ exports.school = (req, res, next) => {
70 exports.checkStudent = (req, res, next) => { 70 exports.checkStudent = (req, res, next) => {
71 71
72 let params = { 72 let params = {
73 - uid: req.user.uid 73 + uid: req.query.uid || req.user.uid,
74 }; 74 };
75 75
76 indexModel.checkStudent(params).then((result) => { 76 indexModel.checkStudent(params).then((result) => {
@@ -93,7 +93,7 @@ exports.schoolNum = (req, res, next) => { @@ -93,7 +93,7 @@ exports.schoolNum = (req, res, next) => {
93 exports.addStudent = (req, res, next) => { 93 exports.addStudent = (req, res, next) => {
94 94
95 let params = { 95 let params = {
96 - uid: req.query.uid, 96 + uid: req.query.userUid,
97 shareUid: req.query.shareUid 97 shareUid: req.query.shareUid
98 }; 98 };
99 99
@@ -33,8 +33,8 @@ @@ -33,8 +33,8 @@
33 </div> 33 </div>
34 <div class="title" style="background-image: url({{picList.title2}});"></div> 34 <div class="title" style="background-image: url({{picList.title2}});"></div>
35 <div class="invite" style="background-image:url('{{picList.invite}}')"> 35 <div class="invite" style="background-image:url('{{picList.invite}}')">
36 - <a class="invite-now"></a>  
37 - <a class="more-rule open-dia"></a> 36 + <a class="invite-now" href="javascript:void(0);"></a>
  37 + <a class="more-rule open-dia" href="javascript:void(0);"></a>
38 </div> 38 </div>
39 {{#if shareLog}} 39 {{#if shareLog}}
40 <div class="title" style="background-image: url({{picList.title3}});"></div> 40 <div class="title" style="background-image: url({{picList.title3}});"></div>
@@ -108,7 +108,7 @@ @@ -108,7 +108,7 @@
108 <div class="pic"> 108 <div class="pic">
109 <img src="{{picList.dia5.src}}" /> 109 <img src="{{picList.dia5.src}}" />
110 </div> 110 </div>
111 - <div class="close-btn"></div> 111 + <a class="close-btn" href="javascript:void(0);"></a>
112 </div> 112 </div>
113 </div> 113 </div>
114 <article class="aslider" data-aslider="province"> 114 <article class="aslider" data-aslider="province">