修复协程调度顺序错误
This commit is contained in:
jinnrry committed 2023-08-30 19:15:15 +08:00
1 parent 12a79d9591
commit cbfbebd7e1
1 file changed
+1
+1
View File
@@ -181,6 +181,7 @@ func Send(ctx *dto.Context, w http.ResponseWriter, req *http.Request) {
hk.(hooks.EmailHook).SendAfter(ctx, e, sendErr)
}, hook)
}
as2.Wait()
if err != nil {
errMsg = err.Error()