shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.ishop.merchant;
 
/**
 * 商城可变参数配置,先暂时在这里实现。后续要移动到参数配置中。
 * @author 时克英
 * @date 2023-06-21
 */
@Deprecated
public class VariableConstants {
 
    // 佣金返佣比例和上限
    public static final Integer retailStoreBrokerageRatio = 30;
 
    /**
     * 获取当前日期,指定格式,老代码方法。
     * 描述:<描述函数实现的功能>.
     *
     * @return
     * @date 2023-06-21
     */
    public static Integer getNowTime() {
        long t = (System.currentTimeMillis() / 1000L);
        return Integer.parseInt(String.valueOf(t));
    }
}