|
@@ -257,15 +257,23 @@ public class QuestionAnswerApi {
|
|
|
@RequestMapping(value = "/queryQuestionAnswerTitle", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/queryQuestionAnswerTitle", method = RequestMethod.GET)
|
|
|
public ResponseEntity<String> queryQuestionAnswerTitle(@RequestHeader(value = "store-id", required = false) String storeId,
|
|
public ResponseEntity<String> queryQuestionAnswerTitle(@RequestHeader(value = "store-id", required = false) String storeId,
|
|
|
// @RequestHeader(value = "user-id", required = false) String userId,
|
|
// @RequestHeader(value = "user-id", required = false) String userId,
|
|
|
|
|
+ @RequestParam(value = "titleType", required = false) String titleType,
|
|
|
|
|
+ @RequestParam(value = "qaTitle", required = false) String qaTitle,
|
|
|
|
|
+ @RequestParam(value = "titleId", required = false) String titleId,
|
|
|
@RequestParam(value = "communityId", required = false) String communityId,
|
|
@RequestParam(value = "communityId", required = false) String communityId,
|
|
|
@RequestParam(value = "objType") String objType,
|
|
@RequestParam(value = "objType") String objType,
|
|
|
@RequestParam(value = "qaId") String qaId,
|
|
@RequestParam(value = "qaId") String qaId,
|
|
|
|
|
+ @RequestParam(value = "objId") String objId,
|
|
|
@RequestParam(value = "page") int page,
|
|
@RequestParam(value = "page") int page,
|
|
|
@RequestParam(value = "row") int row) {
|
|
@RequestParam(value = "row") int row) {
|
|
|
QuestionAnswerTitleDto questionAnswerTitleDto = new QuestionAnswerTitleDto();
|
|
QuestionAnswerTitleDto questionAnswerTitleDto = new QuestionAnswerTitleDto();
|
|
|
|
|
+ questionAnswerTitleDto.setTitleType(titleType);
|
|
|
|
|
+ questionAnswerTitleDto.setQaTitle(qaTitle);
|
|
|
|
|
+ questionAnswerTitleDto.setTitleId(titleId);
|
|
|
questionAnswerTitleDto.setPage(page);
|
|
questionAnswerTitleDto.setPage(page);
|
|
|
questionAnswerTitleDto.setRow(row);
|
|
questionAnswerTitleDto.setRow(row);
|
|
|
questionAnswerTitleDto.setQaId(qaId);
|
|
questionAnswerTitleDto.setQaId(qaId);
|
|
|
|
|
+ questionAnswerTitleDto.setObjId(objId);
|
|
|
//questionAnswerTitleDto.setUserId(userId);
|
|
//questionAnswerTitleDto.setUserId(userId);
|
|
|
if (!StringUtil.isEmpty(objType)) {
|
|
if (!StringUtil.isEmpty(objType)) {
|
|
|
questionAnswerTitleDto.setObjType(objType);
|
|
questionAnswerTitleDto.setObjType(objType);
|