diff --git a/server/composer.json b/server/composer.json index 514a8e2..90b9b68 100644 --- a/server/composer.json +++ b/server/composer.json @@ -60,5 +60,11 @@ "allow-plugins": { "easywechat-composer/easywechat-composer": false } + }, + "scripts": { + "post-autoload-dump": [ + "@php think service:discover", + "@php think vendor:publish" + ] } }