commit
33a17233de
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,177 @@
|
||||
.qrpay-background {
|
||||
position: fixed;
|
||||
background: #f2f2f2;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
section.content {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
bottom: 64px;
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.qrpay-container {
|
||||
width: 700px;
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 40px auto;
|
||||
background: #fff;
|
||||
overflow: visible;
|
||||
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);
|
||||
}
|
||||
|
||||
.qrpay-container .qr-brand {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.qrpay-container .qr-brand.wechat {
|
||||
background: #09bb07;
|
||||
}
|
||||
|
||||
.qrpay-container .qr-brand.alipay {
|
||||
background: #1eabeb;
|
||||
}
|
||||
|
||||
.qrpay-container .qr-brand > .wechat-logo {
|
||||
display: block;
|
||||
margin: auto;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.qrpay-container .price-box {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 15px auto;
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
.qrpay-container .price-box:after {
|
||||
content: '';
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.qrpay-container .price-box .exchange-rate {
|
||||
font-size: 16px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.qrpay-container .price-box .price {
|
||||
font-size: 22px;
|
||||
float: left;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.qrpay-container .price-box .price-left {
|
||||
font-weight: bold;
|
||||
border-right: 2px solid #666;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.qrpay-container .price-box .price-right {
|
||||
padding-left: 10px;
|
||||
width: 49%;
|
||||
white-space: nowrap;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.qrpay-container .card-input-box {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.qrpay-container .qrcode-img {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.qrpay-container .qr-footer {
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
border-radius: 0 0 10px 10px;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background: #f7f7f7;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.qrpay-container .qr-footer .form-group {
|
||||
margin-bottom: 2px;
|
||||
font-size: 12px;
|
||||
line-height: 12px;
|
||||
}
|
||||
|
||||
.qrpay-container .qr-desc {
|
||||
position: absolute;
|
||||
height: 150px;
|
||||
z-index: 999;
|
||||
top: 140px;
|
||||
right: 30px;
|
||||
}
|
||||
|
||||
.qrpay-container .btn{
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#footer {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 997px) {
|
||||
section.content {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.qrpay-container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#footer {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.qr-desc {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.dl-horizontal dd {
|
||||
margin-left: 180px;
|
||||
line-height: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.dl-horizontal dt {
|
||||
float: left;
|
||||
width: 160px;
|
||||
overflow: hidden;
|
||||
clear: left;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
line-height: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,37 @@
|
||||
package au.com.royalpay.payment.manage.task;
|
||||
|
||||
import au.com.royalpay.payment.channels.rpaypaymentsvc.runtime.RPayPaymentCardSvcApi;
|
||||
import au.com.royalpay.payment.core.beans.EmptyMerchantApplication;
|
||||
import au.com.royalpay.payment.manage.mappers.system.ManagerMapper;
|
||||
import au.com.royalpay.payment.tools.merchants.core.MerchantInfoProvider;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
/**
|
||||
* Create by davep at 2020-04-09 18:15
|
||||
*/
|
||||
@SpringBootTest
|
||||
@ActiveProfiles("officedev,wechat,jd,alipay,bestpay,rpay,yeepay,lakala,rppaysvc")
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
public class RegisterRpPaymentMch {
|
||||
@Autowired
|
||||
private RPayPaymentCardSvcApi api;
|
||||
@Autowired
|
||||
private MerchantInfoProvider mchInfoProvider;
|
||||
@Autowired
|
||||
private ManagerMapper managerMapper;
|
||||
|
||||
@Test
|
||||
public void register() {
|
||||
JSONObject client = mchInfoProvider.getClientInfoByMoniker("MATX");
|
||||
JSONObject manager = managerMapper.findByLoginId("yixian");
|
||||
api.apply(client, new EmptyMerchantApplication(), manager);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in new issue