MallDynamicProperty.java 782 Bytes
package com.diligrp.cashier.mall.property;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName MallDynamicProperty.java
 * @author dengwei
 * @version 1.0.0
 * @Description MallDynamicProperty
 * @date 2025-12-29 16:42
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "cashier.cash")
public class MallDynamicProperty {
    /**
     * 收银台URL
     */
    @Value("${url:}")
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}