package com.yami.shop.utils;

import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;


/**
 * 海博签名工具类
 *
 * @author mr wang
 * @version 1.0.0
 * @since 2025-08-29
 */
@Slf4j
@Configuration
public class SmqjhUtil {
    @Getter
    @Value("${smqjh.pms-url}")
    private String smqjhPmsUrl;

    @Getter
    @Value("${smqjh.systemUrl:}")
    private String systemUrl;

    @Getter
    @Value("${smqjh.omsBaseUrl}")
    private String omsBaseUrl;

    /**
     * pms
    * 市民请集合门店修改和新增调用
    */
    public static String smqjhMdUrlAddAndUpdate="/shopDetail/save";
    /**pms
     * 市民请集合门店状态修改调用
    */
    public static String smqjhMdUrlUpdateStatus="/shopDetail/updateStatus";

    /**
     * oms
     * 市民请集合同步退款订单状态
     */
    public static String omsSmqjhRefundUrlUpdateStatus=  "/api/v1/xsb/receiveRefundStatus";

    /**
     * oms
     * 市民请集合同步退款处理积分
     */
    public static String omsSmqjhRefundPointsHandleUrl= "/api/v1/xsb/handleRefund/";


}
