天天看點

java spring boot 異步方法@Async

java spring boot 異步方法@Async

ps:我這裡要說明下 這個異步是多線程 是以要考慮線程安全 變量共享的問題

1 首先開啟類