peter
2026-01-01 a66b2a41f265cc9526781e39c1d6c6d5f5d7c013
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.nq.config;
 
public enum StockType {
    A("hs", "A股"),
    HK("hk", "港股");
    private String code;
    private String msg;
 
    StockType(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getMsg() {
        return this.msg;
    }
}