Authored by hf

code review by hf: fixes bugs to product consults link error

@@ -745,7 +745,7 @@ class Helpers @@ -745,7 +745,7 @@ class Helpers
745 */ 745 */
746 public static function syncUserSession($uid, $refer = '', $callback = 'call') 746 public static function syncUserSession($uid, $refer = '', $callback = 'call')
747 { 747 {
748 - return 'http://m1.yohobuy.com/Passport/session/index?callback=' . $callback 748 + return 'http://mapi.yohobuy.com/Passport/session/index?callback=' . $callback
749 . '&sign=' .md5(md5($uid . 'Js8Yn0!EwPM45-ws')) . '&uid=' . $uid . '&go=' . $refer; 749 . '&sign=' .md5(md5($uid . 'Js8Yn0!EwPM45-ws')) . '&uid=' . $uid . '&go=' . $refer;
750 } 750 }
751 751
@@ -761,7 +761,7 @@ class Helpers @@ -761,7 +761,7 @@ class Helpers
761 */ 761 */
762 public static function logoutSession($token, $refer = '', $callback = 'call') 762 public static function logoutSession($token, $refer = '', $callback = 'call')
763 { 763 {
764 - return 'http://m1.yohobuy.com/Passport/session/logout?callback=' . $callback 764 + return 'http://mapi.yohobuy.com/Passport/session/logout?callback=' . $callback
765 . '&sign=' . md5(md5('Js8Yn0!EwPM45-ws')) . '&token=' . $token . '&go=' . $refer; 765 . '&sign=' . md5(md5('Js8Yn0!EwPM45-ws')) . '&token=' . $token . '&go=' . $refer;
766 } 766 }
767 767
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 <div class="goto-consult tap-hightlight" id="goto-consult" data-href="{{link}}"> 3 <div class="goto-consult tap-hightlight" id="goto-consult" data-href="{{link}}">
4 <i class="iconfont consult-logo">&#xe639;</i> 4 <i class="iconfont consult-logo">&#xe639;</i>
5 <span>我要咨询</span> 5 <span>我要咨询</span>
6 - <a href="javascript:;" class="iconfont enter-consult-page">&#xe604;</a> 6 + <a href="{{link}}" class="iconfont enter-consult-page">&#xe604;</a>
7 </div> 7 </div>
8 {{# consults}} 8 {{# consults}}
9 <div class="goods-consults" id="goods-consults"> 9 <div class="goods-consults" id="goods-consults">