java 佔位符替換

RESOURCE_NOT_EXIST("404","The resource not exists.Resource is %s"); baseResult.setMessage(String.format(CommonResultCode.RESOURCE_NOT_EXIST.message, "55555555"));  "message": "The resource not exists.
相關文章
相關標籤/搜索