What I want to achieve is to operate the reply - save
table and the topic
table at the same time after user
, and then return them together. I don’t know how to use promise.all
to wrap these two query update operations. I hope you can help me solve it. = =
Update: The following is the modified version.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
迷茫2017-05-02 09:25:25
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|
I probably wrote it down, give it a try