package com.yc.ship.module.trade.controller.app.notify;

import com.yc.ship.framework.operatelog.core.annotations.OperateLog;
import com.yc.ship.module.infra.api.config.ConfigApi;
import com.yc.ship.module.infra.api.logger.ApiAccessLogApi;
import com.yc.ship.module.trade.service.order.TradeCheckService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import static com.yc.ship.framework.operatelog.core.enums.OperateTypeEnum.CHECK;


/**
 * @author ：
 * @description：核销通知
 * @date ：2025/8/13 15:41
 **/
@Tag(name = "川大票务系统通知controller")
@RestController
@RequestMapping("/zshl/notify")
@Validated
@Slf4j
public class ZshlSupplierNotifyController {

    @Resource
    private TradeCheckService tradeCheckService;



    @Autowired
    private ApiAccessLogApi apiAccessLogApi;

    @Resource
    private ConfigApi configApi;

    @PostMapping("/checkNotify")
    @Operation(summary = "川大票务系统核销通知")
    @OperateLog(type = CHECK)
    public String checkNotify(@RequestBody String body, HttpServletRequest request) {
        return "";
    }

}