Skip to content

Commit

Permalink
commit user gateway added
Browse files Browse the repository at this point in the history
  • Loading branch information
josephpcsywm committed Jul 20, 2023
1 parent 8c43497 commit 0252303
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/askquestion/AskQuestionInteractor.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package askquestion;

import gateway.QuestionGateway;
import gateway.UserGateway;
import presenter.TheQuestionOutputBoundary;
import presenter.TheQuestionResponseModel;
import questionentities.Question;
Expand All @@ -13,6 +14,8 @@ public class AskQuestionInteractor implements QuestionInputBoundary{
final TheQuestionOutputBoundary theQuestionOutputBoundary;
final QuestionFactory questionFactory;

final UserGateway userGateway; // 需要client gateway, 且缺constructor

public AskQuestionInteractor(QuestionGateway questionGateway, TheQuestionOutputBoundary theQuestionOutputBoundary,
QuestionFactory questionFactory){
this.questionGateway = questionGateway;
Expand Down

0 comments on commit 0252303

Please sign in to comment.