Your Name
2023-07-05 4ed693f48d1435de7a6333df17c2b34154731429
service-api/src/main/java/com/java110/api/controller/app/payment/NotifyPaymentController.java
@@ -2,6 +2,7 @@
import com.java110.api.controller.app.PaymentController;
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;
@@ -26,12 +27,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));
    }
}