当前位置:网站首页>yml字符串读取时转成数字了怎么解决
yml字符串读取时转成数字了怎么解决
2022-08-02 06:06:00 【节点。csn】
发版时发现application.yml配置的channelType配置的
![]()
在读取的时候会读取成数字,从而得到1,而不是期望的01,因为yml会把0开头的作为8进制对待,主动去掉了前导零。如果想读取成字符串只需要配置的时候加上双引号
![]()
边栏推荐
猜你喜欢

MySql 5.7.38 download and installation tutorial, and realize the operation of MySql in Navicat

Analysis of port 9848 error at startup of Nacos client (non-version upgrade problem)

Leading the demand and justifying the HR value - the successful launch of the "Human Resource Leading Model HRLM"

Kind of weird!Access the destination URL, the host can container but not

nodejs的安装和全局配置(超详细哦)

nacos源码启动找不到istio包

MySQL Advanced SQL Statements (2)

CAT1 4G+以太网开发板腾讯云手机微信小程序显示温度和下发控制

zabbix auto-discovery and auto-registration

HCIP 第一天
随机推荐
MySQL Advanced - MVCC (ultra-detailed finishing)
HCIP 第一天
专家见解|经济低迷期把握创新机会的 3 大方法
Leetcode Weekly 304
Xgboost报错ValueError:无效的形状:标签(1650 2)
Not annotated parameter overrides @NonNullApi parameter
两篇不错的php debug教程
Technology empowers Lhasa's "lungs", Huawei helps Lalu Wetland Smart Management to protect lucid waters and lush mountains
PHP Warning: putenv() has been disabled for security reasons in phar
MySQL database video tutorial from beginner to proficient
HCIP 第四天
Node installation and environment configuration
nacos源码启动找不到istio包
love
Toolbox App 1.25 New Features at a Glance | Version Update
解决C#非静态字段、方法或属性“islandnum.Program.getIslandCount(int[][], int, int)”要求对象引用
About the local server problem after ue4.27 pixel streaming package
Toolbox App 1.25 新功能一览 | 版本更新
How the Internet of Things is changing the efficiency of city operations
MySQL经典50道练习题及全网最详细解析