Your Name
2023-06-06 fe3b0f4a3c46892f08421dd4c4d0937fb8a87f93
service-acct/src/main/java/com/java110/acct/payment/adapt/alipay/AliPaymentFactoryAdapt.java
@@ -16,6 +16,7 @@
import com.java110.dto.app.AppDto;
import com.java110.dto.fee.FeeDto;
import com.java110.dto.owner.OwnerAppUserDto;
import com.java110.dto.payment.NotifyPaymentOrderDto;
import com.java110.dto.payment.PaymentOrderDto;
import com.java110.dto.smallWeChat.SmallWeChatDto;
import com.java110.intf.fee.ITempCarFeeCreateOrderV1InnerServiceSMO;
@@ -94,7 +95,7 @@
        String appId = context.getReqHeaders().get("app-id");
        String userId = context.getReqHeaders().get("user-id");
        String communityId = reqJson.getString("communityId");
        String notifyUrl = UrlCache.getOwnerUrl()+ "/app/payment/notify/common/992020011134400001";
        String notifyUrl = UrlCache.getOwnerUrl()+ "/app/payment/notify/common/992020011134400001/"+smallWeChatDto.getObjId();
        String openId = reqJson.getString("openId");
@@ -184,8 +185,8 @@
    @Override
    public PaymentOrderDto java110NotifyPayment(String param) {
        JSONObject reqJson = JSONObject.parseObject(param);
    public PaymentOrderDto java110NotifyPayment(NotifyPaymentOrderDto notifyPaymentOrderDto) {
        JSONObject reqJson = JSONObject.parseObject(notifyPaymentOrderDto.getParam());
        PaymentOrderDto paymentOrderDto = new PaymentOrderDto();
        Assert.jsonObjectHaveKey(reqJson, "out_trade_no", "请求报文中未包含订单信息");
@@ -269,6 +270,7 @@
            smallWeChatDto.setAppSecret(MappingCache.getValue(WechatConstant.WECHAT_DOMAIN, "appSecret"));
            smallWeChatDto.setMchId(MappingCache.getValue(MappingConstant.WECHAT_STORE_DOMAIN, "mchId"));
            smallWeChatDto.setPayPassword(MappingCache.getValue(MappingConstant.WECHAT_STORE_DOMAIN, "key"));
            smallWeChatDto.setObjId(paramIn.getString("communityId"));
            return smallWeChatDto;
        }