【发布时间】:2016-12-01 02:14:01
【问题描述】:
我在sails js中设置了这样的英语语言环境文件
{
"api": {
"error": {
"forbidden": "Access not granted",
"notfound": "Could not find resource",
"authentication": {
"failure": "Authentication failure",
"invalid_token": "Invalid token"
}
}
}
如何动态加载控制器、服务等中的值? 我正在使用sails 0.11.2版
【问题讨论】: