Commit a6c3eb5e by 胡畅

Merge branch 'develop' of http://gitlab.icaremgt.com/tanxinyu/h5_activity into develop

parents 44743402 32b36fc2
...@@ -62,8 +62,9 @@ ...@@ -62,8 +62,9 @@
}); });
function pass(){ function pass(){
var activityCode = getQueryString('activityCode');
var params = { var params = {
activityCode: activityCode , activityCode: activityCode,
reviewStatus: 1, reviewStatus: 1,
userId: getQueryString('UserId') userId: getQueryString('UserId')
} }
...@@ -94,8 +95,9 @@ ...@@ -94,8 +95,9 @@
} }
function refuse(){ function refuse(){
var activityCode = getQueryString('activityCode');
var params = { var params = {
activityCode: activityCode , activityCode: activityCode,
reviewStatus: 0, reviewStatus: 0,
userId: getQueryString('UserId') userId: getQueryString('UserId')
} }
......
...@@ -191,3 +191,29 @@ function isSignUp(successCallback,errorCallback) { ...@@ -191,3 +191,29 @@ function isSignUp(successCallback,errorCallback) {
} }
} }
} }
// 获取活动名称
function getActivityTitle() {
var activityCode = getQueryString('activityCode');
var params = {
activityCode: activityCode
}
$.ajax({
type: 'GET',
url: baseUrl + '/ACTIVITY/'+ activityCode +'/settings',
data: params,
success: function(data) {
if(data.status == 200) {
var title = data.result.settings.szText.h5Title;
document.title = title;
}
},
error: function() {
$.dialog({
type : 'tips',
autoClose : 3000,
infoText : '请求超时,请尝试刷新页面!'
});
}
})
}
\ No newline at end of file
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