Your Name
2023-07-05 4ed693f48d1435de7a6333df17c2b34154731429
springboot/src/main/java/com/java110/boot/controller/app/payment/NotifyPaymentController.java
@@ -1,6 +1,7 @@
package com.java110.boot.controller.app.payment;
import com.java110.core.log.LoggerFactory;
import com.java110.dto.payment.NotifyPaymentOrderDto;
import com.java110.intf.acct.INotifyPaymentV1InnerServiceSMO;
import org.slf4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
@@ -24,12 +25,12 @@
     * @param request
     * @throws Exception
     */
    @RequestMapping(path = "/common/{appId}", method = RequestMethod.POST)
    public ResponseEntity<String> notify(@RequestBody String postInfo, @PathVariable String appId, HttpServletRequest request) {
    @RequestMapping(path = "/common/{appId}/{communityId}", method = RequestMethod.POST)
    public ResponseEntity<String> notify(@RequestBody String postInfo, @PathVariable String appId,@PathVariable String communityId, HttpServletRequest request) {
        logger.debug("微信支付回调报文" + postInfo);
        return notifyPaymentV1InnerServiceSMOImpl.notifyPayment(postInfo);
        return notifyPaymentV1InnerServiceSMOImpl.notifyPayment(new NotifyPaymentOrderDto(appId,postInfo,communityId));
    }
}