Authored by 梁志锋

修改环境配置

@@ -800,7 +800,7 @@ class Helpers @@ -800,7 +800,7 @@ class Helpers
800 */ 800 */
801 public static function syncUserSession($uid, $refer = '', $callback = 'call') 801 public static function syncUserSession($uid, $refer = '', $callback = 'call')
802 { 802 {
803 - return 'http://mapi.yohobuy.com/Passport/session/index?callback=' . $callback 803 + return 'http://m1.yohobuy.com/Passport/session/index?callback=' . $callback
804 . '&sign=' . md5(md5($uid . 'Js8Yn0!EwPM45-ws')) . '&uid=' . $uid . '&go=' . $refer; 804 . '&sign=' . md5(md5($uid . 'Js8Yn0!EwPM45-ws')) . '&uid=' . $uid . '&go=' . $refer;
805 } 805 }
806 806
@@ -816,7 +816,7 @@ class Helpers @@ -816,7 +816,7 @@ class Helpers
816 */ 816 */
817 public static function logoutSession($token, $refer = '', $callback = 'call') 817 public static function logoutSession($token, $refer = '', $callback = 'call')
818 { 818 {
819 - return 'http://mapi.yohobuy.com/Passport/session/logout?callback=' . $callback 819 + return 'http://m1.yohobuy.com/Passport/session/logout?callback=' . $callback
820 . '&sign=' . md5(md5('Js8Yn0!EwPM45-ws')) . '&token=' . $token . '&go=' . $refer; 820 . '&sign=' . md5(md5('Js8Yn0!EwPM45-ws')) . '&token=' . $token . '&go=' . $refer;
821 } 821 }
822 822
@@ -400,7 +400,6 @@ $yohoPage.on('touchstart', '.btn-minus', function() { @@ -400,7 +400,6 @@ $yohoPage.on('touchstart', '.btn-minus', function() {
400 return; 400 return;
401 } 401 }
402 402
403 - //TODO status change  
404 if ($('#chose-btn-sure').html() === '已售罄') { 403 if ($('#chose-btn-sure').html() === '已售罄') {
405 return; 404 return;
406 } 405 }