修复协程调度顺序错误
This commit is contained in:
jinnrry 2023-08-30 19:15:10 +08:00
parent 12a79d9591
commit cbfbebd7e1

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()