This commit is contained in:
parent
71c8cb22ae
commit
bfecd0f0ae
@ -105,6 +105,8 @@ public class PayApi extends MchApi {
|
||||
throws WeixinException {
|
||||
String tradeType = payPackage.getTradeType();
|
||||
if (TradeType.MICROPAY.name().equalsIgnoreCase(tradeType)) {
|
||||
payPackage.declareWeixinPayAccount(weixinAccount);
|
||||
payPackage.setSign(weixinSignature.sign(payPackage));
|
||||
String para = XmlStream.toXML(payPackage);
|
||||
WeixinResponse response = weixinExecutor.post(
|
||||
getRequestUri("micropay_uri"), para);
|
||||
|
||||
@ -2,7 +2,7 @@ package com.foxinmy.weixin4j.mp.type;
|
||||
|
||||
/**
|
||||
* 卡券颜色
|
||||
*
|
||||
*
|
||||
* @className CardColor
|
||||
* @author jinyu(foxinmy@gmail.com)
|
||||
* @date 2016年4月4日
|
||||
@ -27,7 +27,6 @@ public enum CardColor {
|
||||
this.g = g;
|
||||
this.b = b;
|
||||
this.hex = hex;
|
||||
;
|
||||
}
|
||||
|
||||
public int getR() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user