package cn.com.poc.thirdparty.resource.demand.pay.rest;

import cn.com.poc.thirdparty.resource.demand.pay.dto.payConfig.PayCallBackRequest;
import cn.com.yict.framemax.core.rest.BaseRest;
import cn.com.yict.framemax.web.permission.Access;
import cn.com.yict.framemax.web.permission.Permission;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Roger Wu
 */
@Permission(Access.Anonymous)
public interface PayCallBackRest extends BaseRest {

    /**
     * 支付回调
     *
     * @param wxMiniPayRequest
     * @return
     * @throws Exception
     */
    String payCallBack(@RequestBody PayCallBackRequest wxMiniPayRequest);
}
