master
wangning 7 years ago
commit daae66eb96

@ -627,9 +627,12 @@ public class RetailAppServiceImp implements RetailAppService {
@Override @Override
public void sendNoticeMessage(final NoticeInfo notice, final String[] client_monikers) { public void sendNoticeMessage(final NoticeInfo notice, final String[] client_monikers) {
sendingAppleMsgPool.execute(() -> {
for (String clientMoniker : client_monikers) { for (String clientMoniker : client_monikers) {
JSONObject client = clientManager.getClientInfoByMoniker(clientMoniker); JSONObject client = clientManager.getClientInfoByMoniker(clientMoniker);
if(client==null){
continue;
}
sendingAppleMsgPool.execute(() -> {
List<JSONObject> tokens = clientDeviceTokenMapper.listAllTokensByClient_id(client.getIntValue("client_id")); List<JSONObject> tokens = clientDeviceTokenMapper.listAllTokensByClient_id(client.getIntValue("client_id"));
if (tokens != null && tokens.size() > 0) { if (tokens != null && tokens.size() > 0) {
for (JSONObject devToken : tokens) { for (JSONObject devToken : tokens) {
@ -667,9 +670,9 @@ public class RetailAppServiceImp implements RetailAppService {
} }
} }
} }
}
}); });
} }
}
@Override @Override
public void sendCashbackMessage(final String cashbackAmount, final JSONObject order) { public void sendCashbackMessage(final String cashbackAmount, final JSONObject order) {

@ -16,7 +16,7 @@
<script type="text/javascript" src="/static/templates/disable_wechat_menu.js?t=201607070231"></script> <script type="text/javascript" src="/static/templates/disable_wechat_menu.js?t=201607070231"></script>
</head> </head>
<body> <body>
<img src="/static/images/logo640x640.jpg" style="width: 60%;display: block;margin: auto"> <img src="/static/images/logo_new.jpg" style="width: 60%;display: block;margin: auto">
<h3>身份绑定已完成,奖励将随后发出,敬请留意微信通知</h3> <h3>身份绑定已完成,奖励将随后发出,敬请留意微信通知</h3>
</body> </body>
</html> </html>

@ -10,7 +10,7 @@
<table class="logo" style="margin-bottom: 10px;"> <table class="logo" style="margin-bottom: 10px;">
<tbody><tr> <tbody><tr>
<td> <td>
<img src="https://mpay.royalpay.com.au/static/images/logo640x640.jpg" height="100" width="100" border="0" style="display: block;"> <img src="https://mpay.royalpay.com.au/static/images/logo_new.jpg" height="100" width="100" border="0" style="display: block;">
</td> </td>
</tr> </tr>
</tbody></table> </tbody></table>

@ -56,7 +56,7 @@
<img data-th-src="@{${client['logo_url']}}" id="buslogo" class="logo" style="max-height: 120px;"> <img data-th-src="@{${client['logo_url']}}" id="buslogo" class="logo" style="max-height: 120px;">
</div> </div>
<div th:unless="${client['logo_url']}"> <div th:unless="${client['logo_url']}">
<img src="/static/images/logo640x640.jpg" id="buslogo" class="logo" style="max-height: 120px;"> <img src="/static/images/logo_new.jpg" id="buslogo" class="logo" style="max-height: 120px;">
</div> </div>
</div> </div>

@ -52,7 +52,7 @@
<img data-th-src="@{${client['logo_url']}}" id="buslogo" class="logo"> <img data-th-src="@{${client['logo_url']}}" id="buslogo" class="logo">
</div> </div>
<div th:if="${client.logo_url==null} or ${client.logo_url==''}"> <div th:if="${client.logo_url==null} or ${client.logo_url==''}">
<img src="/static/images/logo640x640.jpg" id="buslogo" class="logo"> <img src="/static/images/logo_new.jpg" id="buslogo" class="logo">
</div> </div>
</div> </div>

@ -37,7 +37,7 @@ define(['angular', 'uiRouter', 'uiBootstrap', 'angularEcharts'], function (angul
$http.get('/analysis/partner_card/' + clientMoniker + '/basic_info').then(function (resp) { $http.get('/analysis/partner_card/' + clientMoniker + '/basic_info').then(function (resp) {
$scope.basicinfo = resp.data; $scope.basicinfo = resp.data;
if ($scope.basicinfo.logo_url == null) { if ($scope.basicinfo.logo_url == null) {
$scope.basicinfo.logo_url = "/static/images/logo640x640.jpg"; $scope.basicinfo.logo_url = "/static/images/logo_new.jpg";
} }
}); });
} }

Loading…
Cancel
Save