Skip to content

Commit cf9e761

Browse files
author
xiaowei
committed
modify bugs
1 parent 9bc9802 commit cf9e761

3 files changed

Lines changed: 15 additions & 10 deletions

File tree

src/main/java/com/changyu/foryou/controller/PayController.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public class PayController {
3636
private UserService userService;
3737
private PushService pushService;
3838

39+
private static final Logger LOGGER = Logger
40+
.getLogger(PayController.class);
41+
3942
public PushService getPushService() {
4043
return pushService;
4144
}
@@ -44,8 +47,7 @@ public void setPushService(PushService pushService) {
4447
this.pushService = pushService;
4548
}
4649

47-
private static final Logger LOGGER = Logger
48-
.getLogger(PayController.class);
50+
4951
public PayService getPayService() {
5052
return payService;
5153
}

src/main/webapp/index.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
$.get("../foryou/user/getUserType.do", function(text){
3434
if (text=="1") {
3535
$("#user-link").hide();
36+
$("#hotsearch").hide();
37+
$("#preferential").hide();
38+
$("#closeStore").hide();
3639
};
3740

3841
});
@@ -103,7 +106,7 @@
103106

104107
</a>
105108
</figure><hr/></li>
106-
<li>
109+
<li id="preferential">
107110
<figure>
108111
<a href="pages/preferential.html" target="content">
109112
<i class="icon-shopping-cart"></i>满减优惠
@@ -168,14 +171,14 @@
168171
<i class="icon-globe"></i>
169172
校区管理&nbsp;&nbsp;
170173
</a>
171-
</figure>
174+
</figure><hr/>
172175
</li>
173-
<li><figure>
174-
<a href="pages/hotsearch.html" target="content"><i
176+
<li id="hotsearch"><figure>
177+
<a href="pages/hotsearch.html" id="hotsearch" target="content"><i
175178
class='icon-zoom-out'></i>搜索标签 </a>
176179
</figure><hr/></li>
177180
<li>
178-
<li>
181+
<li id="closeStore">
179182
<figure>
180183
<a href="pages/close.html" target="content">
181184
<i class="icon-off"></i>一键关店

src/main/webapp/pages/order_refund.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ <h1>
116116
$.post("../order/confirmRefund.do",
117117
{togetherId:row.togetherId},
118118
function(data){
119-
if(data.status="success"){
119+
if(data.status=="success"){
120120
$('#info').show();
121121
$('#info').html("操作成功");
122122
setTimeout("$('#info').hide()", 2000 );
123+
$('#table').bootstrapTable('refresh', {silent: true});
123124
}else{
124125
$('#info').show();
125126
$('#info').html("操作失败");
126-
setTimeout("$('#info').hide()", 2000 );
127-
$('#table').bootstrapTable('refresh', {silent: true});
127+
setTimeout("$('#info').hide()", 2000 );
128128
}
129129
},'json'
130130
);

0 commit comments

Comments
 (0)