jiapeng 7 years ago
parent
commit
693a878063
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/ekexiu/portal/question/Service.java

+ 2 - 2
src/main/java/com/ekexiu/portal/question/Service.java

@ -346,7 +346,7 @@ public class Service {
346 346
			throw e;
347 347
		}
348 348
		questionDao.incQuestionReply(con, qid);
349
		notifyService.notify(con, q.getUid(), uid, uname, qid, q.getTitle(), NotifyType.ANSWER_QUESTION, runs);
349
		notifyService.notify(con, q.getUid(), uid, uname,id+":"+qid, q.getTitle(), NotifyType.ANSWER_QUESTION, runs);
350 350
		return id;
351 351
	}
352 352

@ -628,7 +628,7 @@ public class Service {
628 628
				throw new JfwBaseException(50001, "duplicate answer agree");
629 629
			}
630 630
		}
631
		notifyService.notify(con, a.getUid(), uid, uname, a.getId(), q.getTitle(), NotifyType.ACCEPT_ANSWER, runs);
631
		notifyService.notify(con, a.getUid(), uid, uname, a.getId()+":"+qid, q.getTitle(), NotifyType.ACCEPT_ANSWER, runs);
632 632
	}
633 633
	
634 634