jiapeng vor 7 Jahren
Ursprung
Commit
693a878063
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/main/java/com/ekexiu/portal/question/Service.java

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

346
			throw e;
346
			throw e;
347
		}
347
		}
348
		questionDao.incQuestionReply(con, qid);
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
		return id;
350
		return id;
351
	}
351
	}
352

352

628
				throw new JfwBaseException(50001, "duplicate answer agree");
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