Skip to content

Commit dfbecc6

Browse files
author
xiaowei
committed
deal with bugs
1 parent 88dd881 commit dfbecc6

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/main/java/com/changyu/foryou/mapping/OrderMapper.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@
922922
<!--获取客户端订单 -->
923923
<select id="getPCOrdersNew" resultMap="SuperAdminOrderMap">
924924
select
925-
together_id,custome_phone as phone,together_date,total_price as price,address
925+
together_id,phone,together_date,total_price as price,address
926926
from together_order
927927
where tag=1 and status=#{status}
928928
<if test="campusId != null">

src/main/java/com/changyu/foryou/tools/JpushInterface.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public static PushPayload buildPushObject_all_all_alert(String message) {
1818
.setPlatform(Platform.android_ios())
1919
.setAudience(Audience.all())
2020
.setNotification(Notification.alert(message))
21+
.setOptions(Options.newBuilder().setApnsProduction(false).build())
2122
.setMessage(Message.newBuilder()
2223
.setMsgContent(message)
2324
.addExtra("from", "foryou")
@@ -32,7 +33,8 @@ public static PushPayload buildPushObject_android_and_ios_alias_alert(String ale
3233
.setPlatform(Platform.android_ios())
3334
.setAudience(Audience.alias(phone))
3435
.setNotification(Notification.alert(alertString))
35-
.setOptions(Options.newBuilder().setApnsProduction(true).build())
36+
.setOptions(Options.newBuilder().setApnsProduction(false
37+
).build())
3638
.setMessage(Message.newBuilder()
3739
.setMsgContent(alertString)
3840
.addExtra("from", "foryou")

0 commit comments

Comments
 (0)