考虑在模型开头自动生成的注释:
/**
* User.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs :: http://sailsjs.org/documentation/concepts/models-and-orm/models
*/
@ 符号在@description
行和@docs
行中表示什么?
我认为@只是代表一个实体。请参阅 JSdoc 标准