Commit 32d6e577 by zujiaozhang

'论坛修改为正式环境'

parent 5369e5df
......@@ -10,7 +10,6 @@ body {
/* 新增加根据帖子审批状态显示与隐藏部件 */
.card_hide{
display: none!important;
/* visibility: hidden; */
}
.card_show{
display: block!important;
......
......@@ -120,7 +120,7 @@ define(['zepto', 'https://review-formal.iplusmed.com/Common/javaScript/medtap-co
)
);
$.ajax({
url: 'https://testdevgw.medtap.cn/wechat/user/getWechatUser',
url: 'https://gateway.medtap.cn/wechat/user/getWechatUser',
headers: {
'apptype': 'wechat_lung',
'user-os':'wechat',
......
......@@ -117,7 +117,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: {
......@@ -148,7 +148,7 @@ define(['zepto', 'medtap'], function($, medtap) {
wx.onMenuShareAppMessage({
title: productDetail.name,
desc: '', // 分享描述
link: 'https://testdevgw.medtap.cn/wechat/lung/oauth_stepEnd?type=BBS_LUNG_SHARE&cardId=' + card.cardId +
link: 'https://gateway.medtap.cn/wechat/lung/oauth_stepEnd?type=BBS_LUNG_SHARE&cardId=' + card.cardId +
'&agencyId=' + card.shareId,
imgUrl: '', // 分享图标
type: 'link', // 分享类型,music、video或link,不填默认为link
......@@ -163,7 +163,7 @@ define(['zepto', 'medtap'], function($, medtap) {
//分享到朋友圈
wx.onMenuShareTimeline({
title: productDetail.name, // 分享标题
link: 'https://testdevgw.medtap.cn/wechat/lung/oauth_stepEnd?type=BBS_LUNG_SHARE&cardId=' + card.cardId +
link: 'https://gateway.medtap.cn/wechat/lung/oauth_stepEnd?type=BBS_LUNG_SHARE&cardId=' + card.cardId +
'&agencyId=' + card.shareId,
imgUrl: '', // 分享图标
success: function() {
......@@ -194,7 +194,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getCardDetail: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publish/' + card.cardId,
url: 'https://gateway.medtap.cn/operation/pubbbs/publish/' + card.cardId,
type: 'GET',
async: false,
data: {
......@@ -247,7 +247,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getCommentList: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishComment',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishComment',
type: 'GET',
async: false,
data: {
......@@ -416,7 +416,7 @@ define(['zepto', 'medtap'], function($, medtap) {
var status;
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publish/up',
url: 'https://gateway.medtap.cn/operation/pubbbs/publish/up',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -437,7 +437,7 @@ define(['zepto', 'medtap'], function($, medtap) {
var result;
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishComment/up',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishComment/up',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -458,7 +458,7 @@ define(['zepto', 'medtap'], function($, medtap) {
var collectResult;
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishCollect',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishCollect',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -485,7 +485,7 @@ define(['zepto', 'medtap'], function($, medtap) {
} else {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishComment',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishComment',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -515,7 +515,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getShareInfoByToken: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/common/share/getSharerByToken',
url: 'https://gateway.medtap.cn/common/share/getSharerByToken',
type: 'post',
contentType: "application/json",
async: false,
......
......@@ -97,7 +97,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
},
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: {
......@@ -128,7 +128,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
wx.onMenuShareAppMessage({
title: productDetail.name,
desc: '【易加医】' + productDetail.name + '热卖中,点击购买', // 分享描述
link: 'https://testdevgw.medtap.cn/wechat/oauth_stepEnd?type=PRODUCT_DETAILS&goodsId=' + productDetail.goodsId +
link: 'https://gateway.medtap.cn/wechat/oauth_stepEnd?type=PRODUCT_DETAILS&goodsId=' + productDetail.goodsId +
"&agencyId=" + productDetail.agencyId + '&userShareId=' + MedtapCore.getRequest('userShareId') +
'&operationType=22&businessDetail=' + productDetail.goodsId,
imgUrl: productDetail.iconUrl, // 分享图标
......@@ -144,7 +144,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
//分享到朋友圈
wx.onMenuShareTimeline({
title: productDetail.name, // 分享标题
link: 'https://testdevgw.medtap.cn/wechat/oauth_stepEnd?type=PRODUCT_DETAILS&goodsId=' + productDetail.goodsId +
link: 'https://gateway.medtap.cn/wechat/oauth_stepEnd?type=PRODUCT_DETAILS&goodsId=' + productDetail.goodsId +
"&agencyId=" + productDetail.agencyId + '&userShareId=' + MedtapCore.getRequest('userShareId') +
'&operationType=22&businessDetail=' + productDetail.goodsId,
imgUrl: productDetail.iconUrl, // 分享图标
......@@ -178,7 +178,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
getCardDetail: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publish/' + card.cardId,
url: 'https://gateway.medtap.cn/operation/pubbbs/publish/' + card.cardId,
type: 'GET',
async: false,
data: {
......@@ -228,7 +228,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
getCommentList: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishComment',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishComment',
type: 'GET',
async: false,
data: {
......@@ -397,7 +397,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
var status;
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publish/up',
url: 'https://gateway.medtap.cn/operation/pubbbs/publish/up',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -418,7 +418,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
var result;
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishComment/up',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishComment/up',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -439,7 +439,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
var collectResult;
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishCollect',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishCollect',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -466,7 +466,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
} else {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishComment',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishComment',
type: 'POST',
async: false,
contentType: 'application/json',
......
......@@ -106,7 +106,7 @@ define(
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',
......@@ -133,7 +133,7 @@ define(
getUserInfo: 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: {},
......@@ -149,7 +149,7 @@ define(
upDateUserInfo: function(name) {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/saveUserInfo',
url: 'https://gateway.medtap.cn/user/saveUserInfo',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -175,7 +175,7 @@ define(
getForumInfo: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/getGruop',
url: 'https://gateway.medtap.cn/operation/pubbbs/getGruop',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -204,7 +204,7 @@ define(
getForumList: function(listType) {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publish',
url: 'https://gateway.medtap.cn/operation/pubbbs/publish',
type: 'GET',
async: false,
data: {
......@@ -568,7 +568,7 @@ define(
var status;
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publish/up',
url: 'https://gateway.medtap.cn/operation/pubbbs/publish/up',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -588,7 +588,7 @@ define(
joinPublish: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/groupUser',
url: 'https://gateway.medtap.cn/operation/pubbbs/groupUser',
type: 'POST',
async: false,
contentType: 'application/json',
......
......@@ -97,7 +97,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: {
......@@ -137,7 +137,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getMyCard: function() {
medtap.loading(1);
medtap.submitAjax({
url: "https://testdevgw.medtap.cn/operation/pubbbs/publish/mine",
url: "https://gateway.medtap.cn/operation/pubbbs/publish/mine",
type: 'get',
async: false,
data: {
......@@ -360,7 +360,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getMyReply: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishComment/mine',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishComment/mine',
type: 'POST',
async: true,
contentType: 'application/json',
......@@ -607,7 +607,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getMyCollect: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishCollect',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishCollect',
type: 'get',
async: false,
data: {
......@@ -792,7 +792,7 @@ define(['zepto', 'medtap'], function($, medtap) {
deleteMine: function(id) {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publish/mineDelete',
url: 'https://gateway.medtap.cn/operation/pubbbs/publish/mineDelete',
type: 'post',
async: false,
contentType: 'application/json',
......@@ -821,7 +821,7 @@ define(['zepto', 'medtap'], function($, medtap) {
var collectResult;
medtap.loading(1);
medtap.submitAjax({
url:'https://testdevgw.medtap.cn/operation/pubbbs/publishCollect',
url:'https://gateway.medtap.cn/operation/pubbbs/publishCollect',
type:'POST',
async: false,
contentType: 'application/json',
......@@ -853,7 +853,7 @@ define(['zepto', 'medtap'], function($, medtap) {
updateNickname:function(name){
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/updateNickname',
url: 'https://gateway.medtap.cn/user/updateNickname',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -882,7 +882,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getUserInfo: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: {
......
......@@ -35,7 +35,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: {
......@@ -117,7 +117,7 @@ define(['zepto', 'medtap'], function($, medtap) {
//上传图片
upLoadImg: function(serverId, localId) {
$.ajax({
url: 'https://testdevgw.medtap.cn/common/uploadWechatFile',
url: 'https://gateway.medtap.cn/common/uploadWechatFile',
type: 'POST',
async: false,
data: {
......@@ -156,7 +156,7 @@ define(['zepto', 'medtap'], function($, medtap) {
// console.log('新建的图片数据',picUrl)
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publish',
url: 'https://gateway.medtap.cn/operation/pubbbs/publish',
type: "POST",
asynv: false,
contentType: 'application/json',
......@@ -196,7 +196,7 @@ define(['zepto', 'medtap'], function($, medtap) {
// console.log('更新的图片数据',picUrl)
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publish/mineUpdate',
url: 'https://gateway.medtap.cn/operation/pubbbs/publish/mineUpdate',
type: "POST",
asynv: false,
contentType: 'application/json',
......@@ -227,7 +227,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getEditById:function(){
medtap.loading(1);
medtap.submitAjax({
url:'https://testdevgw.medtap.cn/operation/pubbbs/publish/' + newCard.cardId,
url:'https://gateway.medtap.cn/operation/pubbbs/publish/' + newCard.cardId,
type:'GET',
async: false,
data:{
......
......@@ -14,7 +14,7 @@ define(['zepto', 'medtap'], function($, medtap) {
getDetail: function() {
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishComment/' + reply.commentId,
url: 'https://gateway.medtap.cn/operation/pubbbs/publishComment/' + reply.commentId,
type: 'GET',
async: false,
data: {
......@@ -77,7 +77,7 @@ define(['zepto', 'medtap'], function($, medtap) {
var result;
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/operation/pubbbs/publishComment/up',
url: 'https://gateway.medtap.cn/operation/pubbbs/publishComment/up',
type: 'POST',
async: false,
contentType: 'application/json',
......@@ -104,7 +104,7 @@ define(['zepto', 'medtap'], function($, medtap) {
}else{
medtap.loading(1);
medtap.submitAjax({
url:'https://testdevgw.medtap.cn/operation/pubbbs/publishComment',
url:'https://gateway.medtap.cn/operation/pubbbs/publishComment',
type:'POST',
async: false,
contentType: 'application/json',
......
......@@ -7,7 +7,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:{
......@@ -29,7 +29,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',
......
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