Commit 5c3e051c by zujiaozhang

'切换到正式环境'

parent 496f9b4d
......@@ -116,7 +116,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getPmdOrderInfo: function() {
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listValidOrder',
url: 'https://gateway.medtap.cn/trade/pmdConsultOrder/listValidOrder',
type: 'post',
contentType: "application/json",
async: false,
......@@ -143,7 +143,7 @@ define(['zepto', 'medtap'], function($, medtap) {
talkRelation: function() {
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRelation',
url: 'https://gateway.medtap.cn/operation/talk/talkRelation',
type: 'post',
async: false,
contentType: 'application/json',
......@@ -176,7 +176,7 @@ define(['zepto', 'medtap'], function($, medtap) {
sendMsg: function(num,content) {
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talk',
url: 'https://gateway.medtap.cn/operation/talk/talk',
type: 'post',
async: false,
headers: medtap.getHeaders(),
......@@ -202,7 +202,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getTalkRecord: function() {
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord',
url: 'https://gateway.medtap.cn/operation/talk/talkRecord',
type: 'get',
async: false,
headers: medtap.getHeaders(),
......@@ -391,7 +391,7 @@ define(['zepto', 'medtap'], function($, medtap) {
}
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord/refresh',
url: 'https://gateway.medtap.cn/operation/talk/talkRecord/refresh',
type: 'get',
async: false,
headers: medtap.getHeaders(),
......
......@@ -17,10 +17,10 @@ define(['zepto', 'medtap'], function($, medtap) {
var requestUrl = '';
switch (type) {
case 'TWZX':
requestUrl = 'https://testdevgw.medtap.cn/trade/imageConsultOrder/listOrder';
requestUrl = 'https://gateway.medtap.cn/trade/imageConsultOrder/listOrder';
break;
case 'PMD':
requestUrl = 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listOrder';
requestUrl = 'https://gateway.medtap.cn/trade/pmdConsultOrder/listOrder';
break;
default:
break;
......@@ -146,7 +146,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getConsultList: function() {
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/trade/consult/listOrder',
url: 'https://gateway.medtap.cn/trade/consult/listOrder',
type: 'post',
async: false,
contentType: 'application/json',
......
......@@ -174,7 +174,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getPmdOrderInfo: function() {
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listValidOrder',
url: 'https://gateway.medtap.cn/trade/pmdConsultOrder/listValidOrder',
type: 'post',
contentType: "application/json",
async: false,
......@@ -201,7 +201,7 @@ define(['zepto', 'medtap'], function($, medtap) {
talkRelation: function() {
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRelation',
url: 'https://gateway.medtap.cn/operation/talk/talkRelation',
type: 'post',
async: false,
contentType: 'application/json',
......@@ -234,7 +234,7 @@ define(['zepto', 'medtap'], function($, medtap) {
sendMsg: function(num,content) {
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talk',
url: 'https://gateway.medtap.cn/operation/talk/talk',
type: 'post',
async: false,
headers: medtap.getHeaders(),
......@@ -262,7 +262,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getTalkRecord: function() {
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord',
url: 'https://gateway.medtap.cn/operation/talk/talkRecord',
type: 'get',
async: false,
headers: medtap.getHeaders(),
......@@ -460,7 +460,7 @@ define(['zepto', 'medtap'], function($, medtap) {
}
medtap.jzz(1);
$.ajax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord/refresh',
url: 'https://gateway.medtap.cn/operation/talk/talkRecord/refresh',
type: 'get',
async: false,
headers: medtap.getHeaders(),
......@@ -559,7 +559,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getImgConsultNumber:function(){
medtap.jzz(1);
$.ajax({
url:'https://testdevgw.medtap.cn/trade/imageConsultOrder/countOrder',
url:'https://gateway.medtap.cn/trade/imageConsultOrder/countOrder',
type:'post',
async: false,
contentType: 'application/json',
......@@ -591,7 +591,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getConsultNumber:function(){
medtap.jzz(1);
$.ajax({
url:'https://testdevgw.medtap.cn/trade/consult/countOrder',
url:'https://gateway.medtap.cn/trade/consult/countOrder',
type:'post',
async: false,
contentType: 'application/json',
......@@ -622,7 +622,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getPmdNumber:function(){
medtap.jzz(1);
$.ajax({
url:'https://testdevgw.medtap.cn/trade/pmdConsultOrder/countOrder',
url:'https://gateway.medtap.cn/trade/pmdConsultOrder/countOrder',
type:'post',
async: false,
contentType: 'application/json',
......
......@@ -90,14 +90,14 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
//跳转至医生主页
$('.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() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRelation',
url: 'https://gateway.medtap.cn/operation/talk/talkRelation',
type: 'post',
async: false,
contentType: 'application/json',
......@@ -135,7 +135,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
// 获取门票
getWechatTicket: function() {
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/lung/fetchWechatTicket',
url: 'https://gateway.medtap.cn/wechat/lung/fetchWechatTicket',
type: 'GET',
async: false,
data: {
......@@ -205,7 +205,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
//上传图片
upLoadImg: function(serverId, localId) {
$.ajax({
url: 'https://testdevgw.medtap.cn/common/uploadWechatFile',
url: 'https://gateway.medtap.cn/common/uploadWechatFile',
type: 'POST',
async: true,
data: {
......@@ -231,7 +231,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
sendMsg: function(num,content) {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talk',
url: 'https://gateway.medtap.cn/operation/talk/talk',
type: 'post',
async: false,
contentType: 'application/json',
......@@ -268,7 +268,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getTalkRecord: function() {
//medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord',
url: 'https://gateway.medtap.cn/operation/talk/talkRecord',
type: 'get',
async: false,
data: {
......@@ -522,7 +522,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
id = chat.minId;
}
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord/refresh',
url: 'https://gateway.medtap.cn/operation/talk/talkRecord/refresh',
type: 'get',
async: false,
data: {
......@@ -899,7 +899,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getAttention: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/friend/getAttention',
url: 'https://gateway.medtap.cn/user/friend/getAttention',
type: 'get',
async: false,
data: {
......@@ -922,7 +922,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
localStorage.wxLungToken = '';
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/auth/token',
url: 'https://gateway.medtap.cn/user/auth/token',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -947,7 +947,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getDoctorDetail:function(){
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/doctor/getDoctorDetail',
url: 'https://gateway.medtap.cn/doctor/getDoctorDetail',
type: 'get',
async: false,
data: {
......@@ -985,7 +985,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getImgConsultNumber:function(){
medtap.loading(1);
medtap.submitAjax({
url:'https://testdevgw.medtap.cn/trade/imageConsultOrder/countOrder',
url:'https://gateway.medtap.cn/trade/imageConsultOrder/countOrder',
type:'post',
async: false,
contentType: 'application/json',
......@@ -1017,7 +1017,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getConsultNumber:function(){
medtap.loading(1);
medtap.submitAjax({
url:'https://testdevgw.medtap.cn/trade/consult/countOrder',
url:'https://gateway.medtap.cn/trade/consult/countOrder',
type:'post',
async: false,
contentType: 'application/json',
......@@ -1049,7 +1049,7 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
getPmdConsultNumber:function(){
medtap.loading(1);
medtap.submitAjax({
url:'https://testdevgw.medtap.cn/trade/pmdConsultOrder/countOrder',
url:'https://gateway.medtap.cn/trade/pmdConsultOrder/countOrder',
type:'post',
async: false,
contentType: 'application/json',
......
......@@ -100,7 +100,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
// 获取门票
getWechatTicket: function() {
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/lung/fetchWechatTicket',
url: 'https://gateway.medtap.cn/wechat/lung/fetchWechatTicket',
type: 'GET',
async: false,
data: {
......@@ -172,7 +172,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
upLoadImg: function(serverId, localId) {
// console.log('执行上传图片')
$.ajax({
url: 'https://testdevgw.medtap.cn/common/uploadWechatFile',
url: 'https://gateway.medtap.cn/common/uploadWechatFile',
type: 'POST',
async: true,
data: {
......@@ -206,7 +206,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
getPmdOrderInfo: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listValidOrder',
url: 'https://gateway.medtap.cn/trade/pmdConsultOrder/listValidOrder',
type: 'post',
contentType: 'application/json',
async: false,
......@@ -234,7 +234,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
getOrderDetail: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/trade/order/getOrderByOrderSn',
url: 'https://gateway.medtap.cn/trade/order/getOrderByOrderSn',
type: 'get',
data: {
orderSn: medtap.getRequest('orderSn')
......@@ -307,7 +307,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
talkRelation: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRelation',
url: 'https://gateway.medtap.cn/operation/talk/talkRelation',
type: 'post',
async: false,
contentType: 'application/json',
......@@ -340,7 +340,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
sendMsg: function(num, content) {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talk',
url: 'https://gateway.medtap.cn/operation/talk/talk',
type: 'post',
async: false,
contentType: 'application/json',
......@@ -368,7 +368,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
//获取消息列表
getTalkRecord: function() {
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord',
url: 'https://gateway.medtap.cn/operation/talk/talkRecord',
type: 'get',
async: false,
data: {
......@@ -528,7 +528,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
}
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/talk/talkRecord/refresh',
url: 'https://gateway.medtap.cn/operation/talk/talkRecord/refresh',
type: 'get',
async: false,
data: {
......@@ -652,7 +652,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
localStorage.wxLungToken = '';
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/auth/token',
url: 'https://gateway.medtap.cn/user/auth/token',
type: 'POST',
async: false,
contentType: 'application/json',
......
......@@ -13,13 +13,13 @@ define(['zepto', 'medtap'], function($, medtap) {
var requestUrl = '';
switch (type) {
case 'TWZX':
requestUrl = 'https://testdevgw.medtap.cn/trade/imageConsultOrder/listOrder';
requestUrl = 'https://gateway.medtap.cn/trade/imageConsultOrder/listOrder';
break;
case 'DHZX':
requestUrl = 'https://testdevgw.medtap.cn/trade/consult/listOrder';
requestUrl = 'https://gateway.medtap.cn/trade/consult/listOrder';
break;
case 'PMD':
requestUrl = 'https://testdevgw.medtap.cn/trade/pmdConsultOrder/listOrder';
requestUrl = 'https://gateway.medtap.cn/trade/pmdConsultOrder/listOrder';
break;
default:
break;
......@@ -142,7 +142,7 @@ define(['zepto', 'medtap'], function($, medtap) {
localStorage.wxLungToken = '';
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/auth/token',
url: 'https://gateway.medtap.cn/user/auth/token',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -167,7 +167,7 @@ define(['zepto', 'medtap'], function($, medtap) {
checkUser: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/wechat/user/getWechatUser',
url: 'https://gateway.medtap.cn/wechat/user/getWechatUser',
type: 'GET',
async: false,
data: {
......@@ -187,7 +187,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getUserDetail: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/getUserDetail',
url: 'https://gateway.medtap.cn/user/getUserDetail',
type: 'GET',
async: false,
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