Commit 5c3e051c by zujiaozhang

'切换到正式环境'

parent 496f9b4d
...@@ -116,7 +116,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -116,7 +116,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getPmdOrderInfo: function() { getPmdOrderInfo: function() {
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listValidOrder', url: 'https://gateway.medtap.cn/trade/pmdConsultOrder/listValidOrder',
type: 'post', type: 'post',
contentType: "application/json", contentType: "application/json",
async: false, async: false,
...@@ -143,7 +143,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -143,7 +143,7 @@ define(['zepto', 'medtap'], function($, medtap) {
talkRelation: function() { talkRelation: function() {
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRelation', url: 'https://gateway.medtap.cn/operation/talk/talkRelation',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -176,7 +176,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -176,7 +176,7 @@ define(['zepto', 'medtap'], function($, medtap) {
sendMsg: function(num,content) { sendMsg: function(num,content) {
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talk', url: 'https://gateway.medtap.cn/operation/talk/talk',
type: 'post', type: 'post',
async: false, async: false,
headers: medtap.getHeaders(), headers: medtap.getHeaders(),
...@@ -202,7 +202,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -202,7 +202,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getTalkRecord: function() { getTalkRecord: function() {
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord', url: 'https://gateway.medtap.cn/operation/talk/talkRecord',
type: 'get', type: 'get',
async: false, async: false,
headers: medtap.getHeaders(), headers: medtap.getHeaders(),
...@@ -391,7 +391,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -391,7 +391,7 @@ define(['zepto', 'medtap'], function($, medtap) {
} }
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord/refresh', url: 'https://gateway.medtap.cn/operation/talk/talkRecord/refresh',
type: 'get', type: 'get',
async: false, async: false,
headers: medtap.getHeaders(), headers: medtap.getHeaders(),
......
...@@ -17,10 +17,10 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -17,10 +17,10 @@ define(['zepto', 'medtap'], function($, medtap) {
var requestUrl = ''; var requestUrl = '';
switch (type) { switch (type) {
case 'TWZX': case 'TWZX':
requestUrl = 'https://testdevgw.medtap.cn/trade/imageConsultOrder/listOrder'; requestUrl = 'https://gateway.medtap.cn/trade/imageConsultOrder/listOrder';
break; break;
case 'PMD': case 'PMD':
requestUrl = 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listOrder'; requestUrl = 'https://gateway.medtap.cn/trade/pmdConsultOrder/listOrder';
break; break;
default: default:
break; break;
...@@ -146,7 +146,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -146,7 +146,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getConsultList: function() { getConsultList: function() {
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/trade/consult/listOrder', url: 'https://gateway.medtap.cn/trade/consult/listOrder',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -174,7 +174,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -174,7 +174,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getPmdOrderInfo: function() { getPmdOrderInfo: function() {
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listValidOrder', url: 'https://gateway.medtap.cn/trade/pmdConsultOrder/listValidOrder',
type: 'post', type: 'post',
contentType: "application/json", contentType: "application/json",
async: false, async: false,
...@@ -201,7 +201,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -201,7 +201,7 @@ define(['zepto', 'medtap'], function($, medtap) {
talkRelation: function() { talkRelation: function() {
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRelation', url: 'https://gateway.medtap.cn/operation/talk/talkRelation',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -234,7 +234,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -234,7 +234,7 @@ define(['zepto', 'medtap'], function($, medtap) {
sendMsg: function(num,content) { sendMsg: function(num,content) {
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talk', url: 'https://gateway.medtap.cn/operation/talk/talk',
type: 'post', type: 'post',
async: false, async: false,
headers: medtap.getHeaders(), headers: medtap.getHeaders(),
...@@ -262,7 +262,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -262,7 +262,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getTalkRecord: function() { getTalkRecord: function() {
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord', url: 'https://gateway.medtap.cn/operation/talk/talkRecord',
type: 'get', type: 'get',
async: false, async: false,
headers: medtap.getHeaders(), headers: medtap.getHeaders(),
...@@ -460,7 +460,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -460,7 +460,7 @@ define(['zepto', 'medtap'], function($, medtap) {
} }
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord/refresh', url: 'https://gateway.medtap.cn/operation/talk/talkRecord/refresh',
type: 'get', type: 'get',
async: false, async: false,
headers: medtap.getHeaders(), headers: medtap.getHeaders(),
...@@ -559,7 +559,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -559,7 +559,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getImgConsultNumber:function(){ getImgConsultNumber:function(){
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url:'https://testdevgw.medtap.cn/trade/imageConsultOrder/countOrder', url:'https://gateway.medtap.cn/trade/imageConsultOrder/countOrder',
type:'post', type:'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -591,7 +591,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -591,7 +591,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getConsultNumber:function(){ getConsultNumber:function(){
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url:'https://testdevgw.medtap.cn/trade/consult/countOrder', url:'https://gateway.medtap.cn/trade/consult/countOrder',
type:'post', type:'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -622,7 +622,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -622,7 +622,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getPmdNumber:function(){ getPmdNumber:function(){
medtap.jzz(1); medtap.jzz(1);
$.ajax({ $.ajax({
url:'https://testdevgw.medtap.cn/trade/pmdConsultOrder/countOrder', url:'https://gateway.medtap.cn/trade/pmdConsultOrder/countOrder',
type:'post', type:'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -90,14 +90,14 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -90,14 +90,14 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
//跳转至医生主页 //跳转至医生主页
$('.doctor_profile').unbind().bind('click',function(){ $('.doctor_profile').unbind().bind('click',function(){
medtap.pushWindow('https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_push_doctor/pages/doctorHomePage.html?doctorId=' + chat.doctorId + '&wechatId=' + medtap.getRequest('wechatId')); medtap.pushWindow('https://review-formal.iplusmed.com/wechatForLungCancer/prd/wechat_lung_push_doctor/pages/doctorHomePage.html?doctorId=' + chat.doctorId + '&wechatId=' + medtap.getRequest('wechatId'));
}); });
}, },
//绑定,获取聊天关系 //绑定,获取聊天关系
talkRelation: function() { talkRelation: function() {
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRelation', url: 'https://gateway.medtap.cn/operation/talk/talkRelation',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -135,7 +135,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -135,7 +135,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
// 获取门票 // 获取门票
getWechatTicket: function() { getWechatTicket: function() {
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/lung/fetchWechatTicket', url: 'https://gateway.medtap.cn/wechat/lung/fetchWechatTicket',
type: 'GET', type: 'GET',
async: false, async: false,
data: { data: {
...@@ -205,7 +205,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -205,7 +205,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
//上传图片 //上传图片
upLoadImg: function(serverId, localId) { upLoadImg: function(serverId, localId) {
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/common/uploadWechatFile', url: 'https://gateway.medtap.cn/common/uploadWechatFile',
type: 'POST', type: 'POST',
async: true, async: true,
data: { data: {
...@@ -231,7 +231,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -231,7 +231,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
sendMsg: function(num,content) { sendMsg: function(num,content) {
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talk', url: 'https://gateway.medtap.cn/operation/talk/talk',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -268,7 +268,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -268,7 +268,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getTalkRecord: function() { getTalkRecord: function() {
//medtap.loading(1); //medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord', url: 'https://gateway.medtap.cn/operation/talk/talkRecord',
type: 'get', type: 'get',
async: false, async: false,
data: { data: {
...@@ -522,7 +522,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -522,7 +522,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
id = chat.minId; id = chat.minId;
} }
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord/refresh', url: 'https://gateway.medtap.cn/operation/talk/talkRecord/refresh',
type: 'get', type: 'get',
async: false, async: false,
data: { data: {
...@@ -899,7 +899,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -899,7 +899,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getAttention: function() { getAttention: function() {
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/friend/getAttention', url: 'https://gateway.medtap.cn/user/friend/getAttention',
type: 'get', type: 'get',
async: false, async: false,
data: { data: {
...@@ -922,7 +922,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -922,7 +922,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
localStorage.wxLungToken = ''; localStorage.wxLungToken = '';
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/auth/token', url: 'https://gateway.medtap.cn/user/auth/token',
type: 'POST', type: 'POST',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -947,7 +947,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -947,7 +947,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getDoctorDetail:function(){ getDoctorDetail:function(){
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/doctor/getDoctorDetail', url: 'https://gateway.medtap.cn/doctor/getDoctorDetail',
type: 'get', type: 'get',
async: false, async: false,
data: { data: {
...@@ -985,7 +985,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -985,7 +985,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getImgConsultNumber:function(){ getImgConsultNumber:function(){
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url:'https://testdevgw.medtap.cn/trade/imageConsultOrder/countOrder', url:'https://gateway.medtap.cn/trade/imageConsultOrder/countOrder',
type:'post', type:'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -1017,7 +1017,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -1017,7 +1017,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getConsultNumber:function(){ getConsultNumber:function(){
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url:'https://testdevgw.medtap.cn/trade/consult/countOrder', url:'https://gateway.medtap.cn/trade/consult/countOrder',
type:'post', type:'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -1049,7 +1049,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) { ...@@ -1049,7 +1049,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getPmdConsultNumber:function(){ getPmdConsultNumber:function(){
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url:'https://testdevgw.medtap.cn/trade/pmdConsultOrder/countOrder', url:'https://gateway.medtap.cn/trade/pmdConsultOrder/countOrder',
type:'post', type:'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -100,7 +100,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -100,7 +100,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
// 获取门票 // 获取门票
getWechatTicket: function() { getWechatTicket: function() {
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/lung/fetchWechatTicket', url: 'https://gateway.medtap.cn/wechat/lung/fetchWechatTicket',
type: 'GET', type: 'GET',
async: false, async: false,
data: { data: {
...@@ -172,7 +172,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -172,7 +172,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
upLoadImg: function(serverId, localId) { upLoadImg: function(serverId, localId) {
// console.log('执行上传图片') // console.log('执行上传图片')
$.ajax({ $.ajax({
url: 'https://testdevgw.medtap.cn/common/uploadWechatFile', url: 'https://gateway.medtap.cn/common/uploadWechatFile',
type: 'POST', type: 'POST',
async: true, async: true,
data: { data: {
...@@ -206,7 +206,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -206,7 +206,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
getPmdOrderInfo: function() { getPmdOrderInfo: function() {
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listValidOrder', url: 'https://gateway.medtap.cn/trade/pmdConsultOrder/listValidOrder',
type: 'post', type: 'post',
contentType: 'application/json', contentType: 'application/json',
async: false, async: false,
...@@ -234,7 +234,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -234,7 +234,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
getOrderDetail: function() { getOrderDetail: function() {
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/trade/order/getOrderByOrderSn', url: 'https://gateway.medtap.cn/trade/order/getOrderByOrderSn',
type: 'get', type: 'get',
data: { data: {
orderSn: medtap.getRequest('orderSn') orderSn: medtap.getRequest('orderSn')
...@@ -307,7 +307,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -307,7 +307,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
talkRelation: function() { talkRelation: function() {
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRelation', url: 'https://gateway.medtap.cn/operation/talk/talkRelation',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -340,7 +340,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -340,7 +340,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
sendMsg: function(num, content) { sendMsg: function(num, content) {
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talk', url: 'https://gateway.medtap.cn/operation/talk/talk',
type: 'post', type: 'post',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -368,7 +368,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -368,7 +368,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
//获取消息列表 //获取消息列表
getTalkRecord: function() { getTalkRecord: function() {
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord', url: 'https://gateway.medtap.cn/operation/talk/talkRecord',
type: 'get', type: 'get',
async: false, async: false,
data: { data: {
...@@ -528,7 +528,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -528,7 +528,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
} }
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord/refresh', url: 'https://gateway.medtap.cn/operation/talk/talkRecord/refresh',
type: 'get', type: 'get',
async: false, async: false,
data: { data: {
...@@ -652,7 +652,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -652,7 +652,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
localStorage.wxLungToken = ''; localStorage.wxLungToken = '';
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/auth/token', url: 'https://gateway.medtap.cn/user/auth/token',
type: 'POST', type: 'POST',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
......
...@@ -13,13 +13,13 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -13,13 +13,13 @@ define(['zepto', 'medtap'], function($, medtap) {
var requestUrl = ''; var requestUrl = '';
switch (type) { switch (type) {
case 'TWZX': case 'TWZX':
requestUrl = 'https://testdevgw.medtap.cn/trade/imageConsultOrder/listOrder'; requestUrl = 'https://gateway.medtap.cn/trade/imageConsultOrder/listOrder';
break; break;
case 'DHZX': case 'DHZX':
requestUrl = 'https://testdevgw.medtap.cn/trade/consult/listOrder'; requestUrl = 'https://gateway.medtap.cn/trade/consult/listOrder';
break; break;
case 'PMD': case 'PMD':
requestUrl = 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listOrder'; requestUrl = 'https://gateway.medtap.cn/trade/pmdConsultOrder/listOrder';
break; break;
default: default:
break; break;
...@@ -142,7 +142,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -142,7 +142,7 @@ define(['zepto', 'medtap'], function($, medtap) {
localStorage.wxLungToken = ''; localStorage.wxLungToken = '';
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/auth/token', url: 'https://gateway.medtap.cn/user/auth/token',
type: 'POST', type: 'POST',
async: false, async: false,
contentType: 'application/json', contentType: 'application/json',
...@@ -167,7 +167,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -167,7 +167,7 @@ define(['zepto', 'medtap'], function($, medtap) {
checkUser: function() { checkUser: function() {
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/user/getWechatUser', url: 'https://gateway.medtap.cn/wechat/user/getWechatUser',
type: 'GET', type: 'GET',
async: false, async: false,
data: { data: {
...@@ -187,7 +187,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -187,7 +187,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getUserDetail: function() { getUserDetail: function() {
medtap.loading(1); medtap.loading(1);
medtap.submitAjax({ medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/getUserDetail', url: 'https://gateway.medtap.cn/user/getUserDetail',
type: 'GET', type: 'GET',
async: false, async: false,
data: { data: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment