Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_lung
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanpeng
wechat_lung
Commits
96148249
Commit
96148249
authored
Jan 13, 2020
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改论坛帖子重复发送评论的问题'
parent
f3149746
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
67 additions
and
62 deletions
+67
-62
cardDetail.css
medtap_bbs_lung/css/cardDetail.css
+4
-2
beforeSubmitForLung.js
medtap_bbs_lung/javaScript/beforeSubmitForLung.js
+2
-2
cardDetail.js
medtap_bbs_lung/javaScript/cardDetail.js
+12
-10
cardDetailForShare.js
medtap_bbs_lung/javaScript/cardDetailForShare.js
+18
-17
index.js
medtap_bbs_lung/javaScript/index.js
+7
-7
myCardList.js
medtap_bbs_lung/javaScript/myCardList.js
+9
-9
newCard.js
medtap_bbs_lung/javaScript/newCard.js
+5
-5
replyDetail.js
medtap_bbs_lung/javaScript/replyDetail.js
+3
-3
rukou.js
medtap_bbs_lung/javaScript/rukou.js
+3
-3
cardDetail.html
medtap_bbs_lung/pages/cardDetail.html
+2
-2
cardDetailForShare.html
medtap_bbs_lung/pages/cardDetailForShare.html
+2
-2
No files found.
medtap_bbs_lung/css/cardDetail.css
View file @
96148249
...
...
@@ -352,4 +352,6 @@ div.fabulous.clearfix{
margin-top
:
1.14rem
;
margin-left
:
3.22rem
;
}
.disabled
{
pointer-events
:
none
;
}
\ No newline at end of file
button
{
border
:
none
;
}
\ No newline at end of file
medtap_bbs_lung/javaScript/beforeSubmitForLung.js
View file @
96148249
...
...
@@ -27,7 +27,7 @@ define(['zepto', 'https://review-formal.iplusmed.com/Common/javaScript/medtap-co
/*需要校验的值*/
valueForCheck
:
{},
/*跳转的链接*/
url
:
'https://review-formal.iplusmed.com/wechatForLungCancer/
dev
/wechat_lung_login/formLogin.html'
,
url
:
'https://review-formal.iplusmed.com/wechatForLungCancer/
prd
/wechat_lung_login/formLogin.html'
,
success
:
function
()
{
console
.
log
(
'子页面success'
);
},
...
...
@@ -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'
,
...
...
medtap_bbs_lung/javaScript/cardDetail.js
View file @
96148249
...
...
@@ -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
:
{
...
...
@@ -149,7 +149,7 @@ define(['zepto', 'medtap'], function($, medtap) {
wx
.
onMenuShareAppMessage
({
title
:
'肺癌靶向家园'
,
desc
:
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
,
// link: window.location.href,
imgUrl
:
'https://review-formal.iplusmed.com/Common/images/bbs_logo_icon/logo_feiai_new.jpg'
,
// 分享图标
...
...
@@ -165,7 +165,7 @@ define(['zepto', 'medtap'], function($, medtap) {
//分享到朋友圈
wx
.
onMenuShareTimeline
({
title
:
'肺癌靶向家园'
,
// 分享标题
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
,
// link: window.location.href,
imgUrl
:
'https://review-formal.iplusmed.com/Common/images/bbs_logo_icon/logo_feiai_new.jpg'
,
// 分享图标
...
...
@@ -197,7 +197,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
:
{
...
...
@@ -250,7 +250,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
:
{
...
...
@@ -419,7 +419,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'
,
...
...
@@ -440,7 +440,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'
,
...
...
@@ -461,7 +461,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'
,
...
...
@@ -486,9 +486,10 @@ define(['zepto', 'medtap'], function($, medtap) {
})
return
}
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'
,
...
...
@@ -497,6 +498,7 @@ define(['zepto', 'medtap'], function($, medtap) {
publishId
:
card
.
cardId
},
success
:
function
(
res
)
{
$
(
'.reply_btn'
).
attr
(
'disabled'
,
true
)
medtap
.
loading
(
0
);
if
(
res
.
success
==
true
)
{
setTimeout
(
function
()
{
...
...
@@ -518,7 +520,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
,
...
...
medtap_bbs_lung/javaScript/cardDetailForShare.js
View file @
96148249
...
...
@@ -73,16 +73,16 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
// 点击加入社区
$
(
'.join_now'
).
on
(
'click'
,
function
(){
if
(
card
.
userId
){
medtap
.
pushWindow
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
dev
/medtap_bbs_lung/index.html?wechatId='
+
card
.
wechatId
)
medtap
.
pushWindow
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
prd
/medtap_bbs_lung/index.html?wechatId='
+
card
.
wechatId
)
}
else
{
medtap
.
pushWindow
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
dev
/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
+
'&toBBS=1'
)
medtap
.
pushWindow
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
prd
/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
+
'&toBBS=1'
)
}
})
$
(
'.top_tip_blue'
).
on
(
'click'
,
function
(){
if
(
card
.
userId
){
medtap
.
pushWindow
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
dev
/medtap_bbs_lung/index.html?wechatId='
+
card
.
wechatId
)
medtap
.
pushWindow
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
prd
/medtap_bbs_lung/index.html?wechatId='
+
card
.
wechatId
)
}
else
{
medtap
.
pushWindow
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
dev
/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
+
'&toBBS=1'
)
medtap
.
pushWindow
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
prd
/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
+
'&toBBS=1'
)
}
})
},
...
...
@@ -90,7 +90,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
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'
,
...
...
@@ -116,7 +116,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
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
:{
...
...
@@ -137,7 +137,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
})
$
(
'.dialog-btn-confirm'
).
on
(
'click'
,
function
(){
$
(
'#showDialog'
).
hide
()
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/
dev
/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
+
'&cardId='
+
card
.
cardId
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/
prd
/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
+
'&cardId='
+
card
.
cardId
})
//为TA加油
$
(
'.fabulous'
).
on
(
'click'
,
function
()
{
...
...
@@ -191,7 +191,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
:
{
...
...
@@ -223,7 +223,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
wx
.
onMenuShareAppMessage
({
title
:
'肺癌靶向家园社区'
,
desc
:
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
:
'https://review-formal.iplusmed.com/Common/images/bbs_logo_icon/logo_feiai_new.jpg'
,
// 分享图标
type
:
'link'
,
// 分享类型,music、video或link,不填默认为link
...
...
@@ -238,7 +238,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
//分享到朋友圈
wx
.
onMenuShareTimeline
({
title
:
'肺癌靶向家园社区'
,
// 分享标题
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
:
'https://review-formal.iplusmed.com/Common/images/bbs_logo_icon/logo_feiai_new.jpg'
,
// 分享图标
success
:
function
()
{
...
...
@@ -269,7 +269,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
:
{
...
...
@@ -319,7 +319,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
:
{
...
...
@@ -483,7 +483,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
var
id
=
$
(
this
).
attr
(
'data-id'
);
medtap
.
pushWindow
(
'replyDetail.html?commentId='
+
id
);
}
else
{
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/
dev
/wechat_lung_login/login.html'
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/
prd
/wechat_lung_login/login.html'
}
})
}
...
...
@@ -496,7 +496,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'
,
...
...
@@ -517,7 +517,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'
,
...
...
@@ -538,7 +538,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'
,
...
...
@@ -565,7 +565,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'
,
...
...
@@ -574,6 +574,7 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
publishId
:
card
.
cardId
},
success
:
function
(
res
)
{
$
(
'.reply_btn'
).
attr
(
'disabled'
,
true
)
medtap
.
loading
(
0
);
if
(
res
.
success
==
true
)
{
setTimeout
(
function
()
{
...
...
medtap_bbs_lung/javaScript/index.js
View file @
96148249
...
...
@@ -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'
,
...
...
@@ -132,7 +132,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
:
{},
...
...
@@ -148,7 +148,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'
,
...
...
@@ -174,7 +174,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'
,
...
...
@@ -203,7 +203,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
:
{
...
...
@@ -567,7 +567,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'
,
...
...
@@ -587,7 +587,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'
,
...
...
medtap_bbs_lung/javaScript/myCardList.js
View file @
96148249
...
...
@@ -101,7 +101,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
:
{
...
...
@@ -141,7 +141,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
:
{
...
...
@@ -364,7 +364,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'
,
...
...
@@ -611,7 +611,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
:
{
...
...
@@ -796,7 +796,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'
,
...
...
@@ -825,7 +825,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'
,
...
...
@@ -857,7 +857,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'
,
...
...
@@ -886,7 +886,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
:
{
...
...
@@ -905,7 +905,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'
,
...
...
medtap_bbs_lung/javaScript/newCard.js
View file @
96148249
...
...
@@ -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
:
{
...
...
@@ -164,7 +164,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'
,
...
...
@@ -219,7 +219,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'
,
...
...
@@ -250,7 +250,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
:
{
...
...
medtap_bbs_lung/javaScript/replyDetail.js
View file @
96148249
...
...
@@ -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'
,
...
...
medtap_bbs_lung/javaScript/rukou.js
View file @
96148249
...
...
@@ -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
:{
...
...
@@ -20,7 +20,7 @@ define(['zepto','medtap'],function($,medtap){
//medtap.pushWindow('index.html?wechatId=' + rukou.wechatId)
window
.
location
.
replace
(
'index.html?wechatId='
+
rukou
.
wechatId
)
}
else
{
window
.
location
.
replace
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
dev
/wechat_lung_login/login.html?wechatId='
+
rukou
.
wechatId
)
window
.
location
.
replace
(
'https://review-formal.iplusmed.com/wechatForLungCancer/
prd
/wechat_lung_login/login.html?wechatId='
+
rukou
.
wechatId
)
}
}
})
...
...
@@ -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'
,
...
...
medtap_bbs_lung/pages/cardDetail.html
View file @
96148249
...
...
@@ -93,9 +93,9 @@
</div>
<div
class=
"comment_btn clearfix"
>
<input
type=
"text"
name=
""
id=
""
value=
""
class=
"reply_input"
/>
<
div
class=
"reply_btn"
>
<
button
class=
"reply_btn"
>
发布
</
div
>
</
button
>
</div>
<div
class=
"share_function"
>
<img
src=
"../images/post_guide_png@2x.png"
class=
"share_bg"
>
...
...
medtap_bbs_lung/pages/cardDetailForShare.html
View file @
96148249
...
...
@@ -130,9 +130,9 @@
</div>
<div
class=
"comment_btn clearfix"
>
<input
type=
"text"
name=
""
id=
""
value=
""
class=
"reply_input"
/>
<
div
class=
"reply_btn"
>
<
button
class=
"reply_btn"
>
发布
</
div
>
</
button
>
</div>
<div
class=
"share_function"
>
<img
src=
"../images/post_guide_png@2x.png"
class=
"share_bg"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment