We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf29763 commit d02df5cCopy full SHA for d02df5c
config/services/Page.php
@@ -31,7 +31,7 @@
31
'cssVersion' => 1,
32
/**
33
* @var string the root directory string the published asset files.
34
- * 设置: js和css的发布路径
+ * 设置: js和css的发布路径,默认在web路径下的assets文件夹下,您可以放到其他的文件路径,然后用独立的jscss域名做指向
35
* 譬如设置为:'@appimage/assets',也可以将 @appimage 换成绝对路径
36
*/
37
'basePath' => '@webroot/assets',
models/mongodb/product/Review.php
@@ -74,9 +74,6 @@ public function attributes($origin = false)
74
'audit_user', // 审核账号
75
'audit_date', // 审核时间
76
];
77
- if ($origin) { // 取原始的数据
78
- return $origin;
79
- }
80
if (is_array(self::$_customAttrs) && !empty(self::$_customAttrs)) {
81
$origin = array_merge($origin, self::$_customAttrs);
82
}
0 commit comments