Merge remote-tracking branch 'origin/develop' into develop

master
yangkai 6 years ago
commit 3ad1a84834

@ -23,5 +23,5 @@ public interface AppActService {
void published(JSONObject manager,String act_id,boolean is_valid); void published(JSONObject manager,String act_id,boolean is_valid);
void sendAnnualBillMessage(); void sendAnnualBillMessage(JSONObject params);
} }

@ -119,11 +119,9 @@ public class AppActServiceImp implements AppActService {
} }
@Override @Override
public void sendAnnualBillMessage() { public void sendAnnualBillMessage(JSONObject params) {
logger.debug("sendAnnualMessage Begin"); logger.debug("sendAnnualMessage Begin");
JSONObject params = new JSONObject();
params.put("client_id", 9);
List<JSONObject> tokens = clientDeviceTokenMapper.listAllTokens(params); List<JSONObject> tokens = clientDeviceTokenMapper.listAllTokens(params);
for (JSONObject devToken : tokens) { for (JSONObject devToken : tokens) {
Runnable task = () -> { Runnable task = () -> {

@ -46,9 +46,17 @@ public class AppActController {
appActService.published(manager,act_id,is_valid); appActService.published(manager,act_id,is_valid);
} }
@GetMapping(value = "/annual/bill") @GetMapping(value = "/annual/bill/test")
public String testSendAnnualBillMessage() {
JSONObject params = new JSONObject();
params.put("client_id", 9);
appActService.sendAnnualBillMessage(params);
return "success";
}
@GetMapping(value = "/annual/bill/all")
public String sendAnnualBillMessage() { public String sendAnnualBillMessage() {
appActService.sendAnnualBillMessage(); appActService.sendAnnualBillMessage(null);
return "success"; return "success";
} }
} }

@ -133,16 +133,26 @@
<div style="height: 2.5rem;"></div> <div style="height: 2.5rem;"></div>
<ul class="slide2-data" style="margin-left: 50px; margin-right: 30px;"> <ul class="slide2-data" style="margin-left: 50px; margin-right: 30px;">
<li>2018年通过RoyalPay完成无卡支付的用户</li> <li>2018年通过RoyalPay完成线上&线下的用户达</li>
<li id="payedUsersNum">819,677</li> <li>
<!--819,677-->
<span id="payedUsersNum">300</span>
<span>万人</span>
</li>
<li>较去年增长</li> <li>较去年增长</li>
<li> <li>
<span id="payedUsersGrowNum">142</span> <!--<span id="payedUsersGrowNum">-->
<!--&lt;!&ndash;142&ndash;&gt;-->
<!--321.53-->
<!--</span>-->
321.53
<span>%</span> <span>%</span>
</li> </li>
<li>平均每天达</li> <li>平均每天</li>
<li style="position: relative;"> <li style="position: relative;">
<span id="dailyPayedUsersNum">2,245</span> <span id="dailyPayedUsersNum">
8,219
</span>
<span></span> <span></span>
<div style="position: absolute; width: 9rem; left: 40%; bottom: -2rem"> <div style="position: absolute; width: 9rem; left: 40%; bottom: -2rem">
<img src="static/images/annualBill/shanghuzengz@2x.png"> <img src="static/images/annualBill/shanghuzengz@2x.png">
@ -176,8 +186,11 @@
<ul class="slide2-data" style="padding-left: 45%; padding-right: 30px; padding-top: 3rem; padding-bottom: 4rem; background-image: url('static/images/annualBill/money@2x.png'); background-repeat: no-repeat; background-size: 45%; position: relative;"> <ul class="slide2-data" style="padding-left: 45%; padding-right: 30px; padding-top: 3rem; padding-bottom: 4rem; background-image: url('static/images/annualBill/money@2x.png'); background-repeat: no-repeat; background-size: 45%; position: relative;">
<li>2018年每月流水超</li> <li>2018年每月流水超</li>
<li> <li>
<span>$</span> <span id="transactionAmount">
<span id="transactionAmount">71,588,990</span> <!--71,588,990-->
81,588,990
</span>
<span> AUD</span>
</li> </li>
<li>平均每一分钟就有超过</li> <li>平均每一分钟就有超过</li>
<li> <li>
@ -449,7 +462,7 @@
</div> </div>
<div class="gateway-offline"> <div class="gateway-offline">
<span class="orange-dot"></span> <span class="orange-dot"></span>
<span class="gray-text" style="vertical-align: middle">线支付渠道</span> <span class="gray-text" style="vertical-align: middle">线支付渠道</span>
</div> </div>
</div> </div>
@ -619,105 +632,105 @@
</div> </div>
<!-- 第十三屏 --> <!-- 第十三屏 -->
<div class="swiper-slide slide2 slide13"> <!--<div class="swiper-slide slide2 slide13">-->
<div class="slide2-title"> <!--<div class="slide2-title">-->
<label>半边天慈善活动</label><br> <!--<label>半边天慈善活动</label><br>-->
<label>排行榜</label> <!--<label>排行榜</label>-->
</div> <!--</div>-->
<div class="slide2-wish-text">
半边天活动参与商户活动期间交易笔数TOP10
</div>
<div class="slide2-hr"> <!--<div class="slide2-wish-text">-->
<div class="left"></div> <!--半边天活动参与商户活动期间交易笔数TOP10-->
</div>
<!--<div style="padding: 30px; margin-top: 30px;">-->
<!--<img src="static/images/annualBill/paihang.png">-->
<!--</div>--> <!--</div>-->
<div class="paihangbang"> <!--<div class="slide2-hr">-->
<ul> <!--<div class="left"></div>-->
<li> <!--</div>-->
<label class="industry-name text-right">51GO</label> <!--&lt;!&ndash;<div style="padding: 30px; margin-top: 30px;">&ndash;&gt;-->
<label id="top1" class="blue-to-green" style="width: 0%;"></label> <!--&lt;!&ndash;<img src="static/images/annualBill/paihang.png">&ndash;&gt;-->
<label class="top-value"> <!--&lt;!&ndash;</div>&ndash;&gt;-->
<span id="top1value">117605</span>
</label> <!--<div class="paihangbang">-->
</li> <!--<ul>-->
<li> <!--<li>-->
<label class="industry-name text-right left">代购之家</label> <!--<label class="industry-name text-right">51GO</label>-->
<label id="top2" style="width: 0%;" class="blue-to-green"></label> <!--<label id="top1" class="blue-to-green" style="width: 0%;"></label>-->
<label class="top-value"> <!--<label class="top-value">-->
<span id="top2value">70977</span> <!--<span id="top1value">117605</span>笔-->
</label> <!--</label>-->
</li> <!--</li>-->
<li> <!--<li>-->
<label class="industry-name text-right left">HOMETOWN SUPERMARKET</label> <!--<label class="industry-name text-right left">代购之家</label>-->
<label id="top3" style="width: 0%;" class="blue-to-green"></label> <!--<label id="top2" style="width: 0%;" class="blue-to-green"></label>-->
<label class="top-value"> <!--<label class="top-value">-->
<span id="top3value">64384</span> <!--<span id="top2value">70977</span>笔-->
</label> <!--</label>-->
</li> <!--</li>-->
<li> <!--<li>-->
<label class="industry-name text-right left">BUY@HOME</label> <!--<label class="industry-name text-right left">HOMETOWN SUPERMARKET</label>-->
<label id="top4" style="width: 0%;" class="blue-to-green"></label> <!--<label id="top3" style="width: 0%;" class="blue-to-green"></label>-->
<label class="top-value"> <!--<label class="top-value">-->
<span id="top4value">55873</span> <!--<span id="top3value">64384</span>笔-->
</label> <!--</label>-->
</li> <!--</li>-->
<li> <!--<li>-->
<label class="industry-name text-right left">HM SYD</label> <!--<label class="industry-name text-right left">BUY@HOME</label>-->
<label id="top5" style="width: 0%;" class="blue-to-green"></label> <!--<label id="top4" style="width: 0%;" class="blue-to-green"></label>-->
<label class="top-value"> <!--<label class="top-value">-->
<span id="top5value">47897</span> <!--<span id="top4value">55873</span>笔-->
</label> <!--</label>-->
</li> <!--</li>-->
<li> <!--<li>-->
<label class="industry-name text-right left">FUMAO</label> <!--<label class="industry-name text-right left">HM SYD</label>-->
<label id="top6" style="width: 0%;" class="blue-to-green"></label> <!--<label id="top5" style="width: 0%;" class="blue-to-green"></label>-->
<label class="top-value"> <!--<label class="top-value">-->
<span id="top6value">46678</span> <!--<span id="top5value">47897</span>笔-->
</label> <!--</label>-->
</li> <!--</li>-->
<li> <!--<li>-->
<label class="industry-name text-right left">BNE GIFT<br> STATION</label> <!--<label class="industry-name text-right left">FUMAO</label>-->
<label id="top7" style="width: 0%;" class="blue-to-green width-transition"></label> <!--<label id="top6" style="width: 0%;" class="blue-to-green"></label>-->
<label class="top-value"> <!--<label class="top-value">-->
<span id="top7value">43596</span> <!--<span id="top6value">46678</span>笔-->
</label> <!--</label>-->
</li> <!--</li>-->
<li> <!--<li>-->
<label class="industry-name text-right left">OZ 团团</label> <!--<label class="industry-name text-right left">BNE GIFT<br> STATION</label>-->
<label id="top8" style="width: 0%;" class="blue-to-green"></label> <!--<label id="top7" style="width: 0%;" class="blue-to-green width-transition"></label>-->
<label class="top-value"> <!--<label class="top-value">-->
<span id="top8value">42848</span> <!--<span id="top7value">43596</span>笔-->
</label> <!--</label>-->
</li> <!--</li>-->
<li> <!--<li>-->
<label class="industry-name text-right left">DAILY MARKET<br> 美天超市</label> <!--<label class="industry-name text-right left">OZ 团团</label>-->
<label id="top9" style="width: 0%;" class="blue-to-green"></label> <!--<label id="top8" style="width: 0%;" class="blue-to-green"></label>-->
<label class="top-value"> <!--<label class="top-value">-->
<span id="top9value">40646</span> <!--<span id="top8value">42848</span>笔-->
</label> <!--</label>-->
</li> <!--</li>-->
<li> <!--<li>-->
<label class="industry-name text-right left">OWELEE<br> HEALTH STORE</label> <!--<label class="industry-name text-right left">DAILY MARKET<br> 美天超市</label>-->
<label id="top10" style="width: 0%;" class="blue-to-green width-transition"></label> <!--<label id="top9" style="width: 0%;" class="blue-to-green"></label>-->
<label class="top-value"> <!--<label class="top-value">-->
<span id="top10value">38557</span> <!--<span id="top9value">40646</span>笔-->
</label> <!--</label>-->
</li> <!--</li>-->
</ul> <!--<li>-->
</div> <!--<label class="industry-name text-right left">OWELEE<br> HEALTH STORE</label>-->
<!--<label id="top10" style="width: 0%;" class="blue-to-green width-transition"></label>-->
<!--<label class="top-value">-->
<!--<span id="top10value">38557</span>笔-->
<!--</label>-->
<!--</li>-->
<!--</ul>-->
<!--</div>-->
<!-- <div class="bottom"> <!--&lt;!&ndash; <div class="bottom">-->
<div class="bottom-text2">滑动查看2019账单</div> <!--<div class="bottom-text2">滑动查看2019账单</div>-->
<div class="bottom-img"> <!--<div class="bottom-img">-->
<img src="static/images/annualBill/up@2x.png" onclick="slideNextPage()"> <!--<img src="static/images/annualBill/up@2x.png" onclick="slideNextPage()">-->
</div> <!--</div>-->
</div> --> <!--</div> &ndash;&gt;-->
</div> <!--</div>-->
<!-- 第十四屏 --> <!-- 第十四屏 -->
<div class="swiper-slide"> <div class="swiper-slide">
@ -754,14 +767,6 @@
<div class="slide2-wish-text" style="text-align: center; margin-top: 40px;"> <div class="slide2-wish-text" style="text-align: center; margin-top: 40px;">
RoyalPay作为一家无缝对接中国消费者与澳洲商家的Fintech企业,致力于提供更安全便捷的支付体验, 助力全球跨境支付业务蓬勃发展。感谢您的加入,让我们离智慧生活的新时代又近了一步! RoyalPay作为一家无缝对接中国消费者与澳洲商家的Fintech企业,致力于提供更安全便捷的支付体验, 助力全球跨境支付业务蓬勃发展。感谢您的加入,让我们离智慧生活的新时代又近了一步!
</div> </div>
<!-- <div class="bottom">
<div class="bottom-text2">滑动查看2019账单</div>
<div class="bottom-img">
<img src="static/images/annualBill/up@2x.png" onclick="slideNextPage()">
</div>
</div> -->
</div> </div>
</div> </div>
@ -785,13 +790,13 @@
var merchantNum = 16000; var merchantNum = 16000;
var payedUsersAnimObject = { var payedUsersAnimObject = {
payedUsersNum: 819667, payedUsersNum: 300,
payedUsersGrowNum: 142, payedUsersGrowNum: 321.53,
dailyPayedUsersNum: 2245 dailyPayedUsersNum: 8219
}; };
// var transactionAmount = 37425582; // var transactionAmount = 37425582;
var transactionAmount = 71588990; var transactionAmount = 81588990;
var payCountAnimObject = { var payCountAnimObject = {
onlineMerchant: 696, onlineMerchant: 696,
@ -975,7 +980,7 @@
slideChangeTransitionEnd: function(event) { slideChangeTransitionEnd: function(event) {
var bottomText = document.getElementById('bottom-text'); var bottomText = document.getElementById('bottom-text');
if(this.activeIndex > 0) { if(this.activeIndex > 0) {
bottomText.style.color = "#FFFFFF" bottomText.style.color = "#FFFFFF";
document.getElementById('bottom-img').src = 'static/images/annualBill/up@2x.png' document.getElementById('bottom-img').src = 'static/images/annualBill/up@2x.png'
} else { } else {
bottomText.style.color = '#1C2029'; bottomText.style.color = '#1C2029';
@ -1001,7 +1006,7 @@
}); });
} }
} }
if (this.activeIndex == 14) { if (this.activeIndex == 13) {
document.getElementById('bottom').style.display = 'none' document.getElementById('bottom').style.display = 'none'
} else { } else {
document.getElementById('bottom').style.display = 'block' document.getElementById('bottom').style.display = 'block'
@ -1116,21 +1121,21 @@
top9: 40646, top9: 40646,
top10: 38557 top10: 38557
}; };
var total = 569061; // var total = 569061;
if (this.activeIndex == 12) { // if (this.activeIndex == 12) {
//
for (var key in paihangbangObject) { // for (var key in paihangbangObject) {
document.getElementById(key).classList.add("width-transition"); // document.getElementById(key).classList.add("width-transition");
document.getElementById(key).style.width = paihangbangObject[key]/total*200 + '%'; // document.getElementById(key).style.width = paihangbangObject[key]/total*200 + '%';
//
var topAnim = new CountUp(key + 'value', 0, paihangbangObject[key], 0, numAnimTime) // var topAnim = new CountUp(key + 'value', 0, paihangbangObject[key], 0, numAnimTime)
topAnim.start(); // topAnim.start();
} // }
} else { // } else {
for (var key in paihangbangObject) { // for (var key in paihangbangObject) {
document.getElementById(key).style.width = 0 + '%'; // document.getElementById(key).style.width = 0 + '%';
} // }
} // }
} }
}, },
}); });

@ -24,7 +24,7 @@
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label ng-if="catId!='app_activity' and catId!='app_ad" class="col-md-2 control-label" for="desc-input">HTML Description</label> <label ng-if="catId!='app_activity' && catId!='app_ad'" class="col-md-2 control-label" for="desc-input">HTML Description</label>
<label ng-if="catId=='app_activity'" class="col-md-2 control-label" for="desc-input">HomePage AD</label> <label ng-if="catId=='app_activity'" class="col-md-2 control-label" for="desc-input">HomePage AD</label>
<label ng-if="catId=='app_ad'" class="col-md-2 control-label" for="desc-input">App Launch AD</label> <label ng-if="catId=='app_ad'" class="col-md-2 control-label" for="desc-input">App Launch AD</label>
<div class="col-md-10"> <div class="col-md-10">
@ -61,6 +61,13 @@
<p ng-if="catId=='app_ad'"class="small text-warning">(广告展示时间(s))</p> <p ng-if="catId=='app_ad'"class="small text-warning">(广告展示时间(s))</p>
</div> </div>
</div> </div>
<div class="form-group">
<label class="col-md-2 control-label" for="kw-input">url</label>
<div class="col-md-10">
<input ng-model="reference.url" type="text" name="title" id="url-input" class="form-control">
<p class="small text-warning">(跳转H5页面链接)</p>
</div>
</div>
</form> </form>
<div class="form-group"> <div class="form-group">
<label class="control-label">Content</label> <label class="control-label">Content</label>

Loading…
Cancel
Save