Skip to content
切换导航面板
P
项目
G
群组
S
代码片段
帮助
成立
/
weiduh5
当前项目
正在载入...
登录
切换导航面板
转到一个项目
项目
版本库
问题
0
合并请求
0
流水线
维基
代码片段
设置
活动
图像
图表
创建新的问题
作业
提交
问题看板
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6f70817a
authored
Jan 23, 2018
by
颜景龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
礼物领取
parent
a11d17bc
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
9 行删除
gift/gift.html
gift/giftindex.html
gift/gift.html
查看文件 @
6f70817a
...
@@ -707,13 +707,7 @@
...
@@ -707,13 +707,7 @@
success: function(result){
success: function(result){
$('
#
submitBtn
').removeClass("disabled");
$('
#
submitBtn
').removeClass("disabled");
if (result.code == 0) {
if (result.code == 0) {
$("#uploadForm")[0].reset();
location.reload();
$.dialog({
content : '
礼物领取成功
',
title: '
ok
',
width: 600,
time : 2000
});
} else {
} else {
$.dialog({
$.dialog({
content : result.message,
content : result.message,
...
...
gift/giftindex.html
查看文件 @
6f70817a
...
@@ -106,11 +106,11 @@
...
@@ -106,11 +106,11 @@
if
(
id
&&
customerUserId
)
{
if
(
id
&&
customerUserId
)
{
$
.
ajax
({
$
.
ajax
({
type
:
'get'
,
type
:
'get'
,
url
:
HTTP_URL
+
"/wedofit/gift/is
Acquire
Gift/"
+
customerUserId
,
url
:
HTTP_URL
+
"/wedofit/gift/is
Has
Gift/"
+
customerUserId
,
contentType
:
'application/json'
,
contentType
:
'application/json'
,
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
result
){
success
:
function
(
result
){
if
(
result
.
code
==
0
&&
result
.
data
.
status
)
{
if
(
result
.
code
==
0
&&
result
.
data
)
{
$
(
'
<
button
type
=
"submit"
id
=
"submitBtn"
class
=
"zbtn zbtn-full zbtn-lg submit-btn"
>
参加活动
<
/button>'
)
.appendTo
(
$
(
"body"
))
;
$
(
'
<
button
type
=
"submit"
id
=
"submitBtn"
class
=
"zbtn zbtn-full zbtn-lg submit-btn"
>
参加活动
<
/button>'
)
.appendTo
(
$
(
"body"
))
;
$
(
"#submitBtn"
).
on
(
'click'
,
function
(
e
){
$
(
"#submitBtn"
).
on
(
'click'
,
function
(
e
){
if
(
id
&&
customerUserId
)
{
if
(
id
&&
customerUserId
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此消息的编辑!
取消
请
注册
或
登录
后发表评论