作者 yangfu

fix: 配置修改

... ... @@ -13,7 +13,7 @@ var (
)
func init() {
if os.Getenv("MANUFACTURE_WEIGH_DEFAULT_COMPANY_ID") != "" {
if os.Getenv("MANUFACTURE_WEIGH_DEFAULT_COMPANYID") != "" {
MANUFACTURE_WEIGH_DEFAULT_COMPANYID, _ = strconv.Atoi(os.Getenv("MANUFACTURE_WEIGH_DEFAULT_COMPANYID"))
}
if os.Getenv("MANUFACTURE_WEIGH_DEFAULT_ORGID") != "" {
... ...