...
|
...
|
@@ -30,7 +30,8 @@ public class QuestionController { |
|
|
@RequestParam("startTime") int startTime,
|
|
|
@RequestParam("sourceType") String sourceType,
|
|
|
@RequestParam("endTime") int endTime, @RequestParam("frontAnswers") String frontAnswers) {
|
|
|
logger.info("Enter submitQuestions rest.");
|
|
|
logger.info("Enter submitQuestions rest. questionId={}, uid={}, startTime={}, sourceType={}, endTime={} and frontAnswers={}" ,
|
|
|
id, uid, startTime, sourceType, endTime, frontAnswers);
|
|
|
SubmitQuestionReqBO submitQuestionReqBO=new SubmitQuestionReqBO();
|
|
|
|
|
|
submitQuestionReqBO.setId(id);
|
...
|
...
|
@@ -60,8 +61,6 @@ public class QuestionController { |
|
|
int code = Integer.parseInt(result.get("code").toString());
|
|
|
String message = result.get("message").toString();
|
|
|
Object data = result.get("data");
|
|
|
// String jsonpStr = "callback(" + data + ")";
|
|
|
|
|
|
return new ApiResponse.ApiResponseBuilder().code(code).message(message).data(data).build();
|
|
|
}
|
|
|
|
...
|
...
|
@@ -74,8 +73,6 @@ public class QuestionController { |
|
|
int code = Integer.parseInt(result.get("code").toString());
|
|
|
String message = result.get("message").toString();
|
|
|
Object data = result.get("data");
|
|
|
// String jsonpStr = "callback(" + data + ")";
|
|
|
|
|
|
return new ApiResponse.ApiResponseBuilder().code(code).message(message).data(data).build();
|
|
|
}
|
|
|
|
...
|
...
|
|