|
@@ -199,7 +199,7 @@
|
|
|
}
|
|
|
var phone = $.trim($("#tel").val());
|
|
|
if($(".header-tab>a.header-tab-active").index() == 0){
|
|
|
- $.post("/jyapp/free/login",{reqType:"phoneLogin",phone:phone,password:$(".onePass input").val(),rid:JyObj.getPushRid(),phoneType:JyObj.getPhoneBrand()},function(r){
|
|
|
+ $.post("/jyapp/free/login",{reqType:"phoneLogin",phone:phone,password:$(".onePass input").val(),rid:JyObj.getPushRid(),phoneType:getPhoneType()},function(r){
|
|
|
if(r.status==1){
|
|
|
if(localStorage){
|
|
|
localStorage.loginPhone = phone;
|
|
@@ -210,7 +210,7 @@
|
|
|
}
|
|
|
});
|
|
|
}else{
|
|
|
- $.post("/jyapp/free/login",{reqType:"identCodeLogin",phone:phone,identCode:$("#identCode").val(),rid:JyObj.getPushRid(),phoneType:JyObj.getPhoneBrand()},function(r){
|
|
|
+ $.post("/jyapp/free/login",{reqType:"identCodeLogin",phone:phone,identCode:$("#identCode").val(),rid:JyObj.getPushRid(),phoneType:getPhoneType()},function(r){
|
|
|
if(r.status==1){
|
|
|
if(localStorage){
|
|
|
localStorage.loginPhone = phone;
|
|
@@ -276,7 +276,7 @@
|
|
|
$.ajax({
|
|
|
url: "/jyapp/free/wxLogin",
|
|
|
type: "post",
|
|
|
- data: {param:wxSign,rid:JyObj.getPushRid(),phoneType:JyObj.getPhoneBrand()},
|
|
|
+ data: {param:wxSign,rid:JyObj.getPushRid(),phoneType:getPhoneType()},
|
|
|
dataType: "json",
|
|
|
success: function(r){
|
|
|
if(r.status == 1){
|