Ver Fonte

refactor: 加syslog日志

lixuesong há 1 ano atrás
pai
commit
dfcee3b22f

+ 2 - 0
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/ApiController.java

@@ -1564,6 +1564,7 @@ public class ApiController {
 	 * @param sharePicUrl 分享图片链接
 	 * @return 结果
 	 */
+	@SysLog("文章转发")
 	@GetMapping("/shareArticleById")
 	public R<?> shareArticleById(String articleId, String shareUserId, String openUserId, String type, String packageId, String sharePicUrl, String remark) {
 		return shareAndReadTaskMethod(articleId, shareUserId, openUserId, type, packageId, sharePicUrl, "article", remark);
@@ -1698,6 +1699,7 @@ public class ApiController {
 	 * @param sharePicUrl 分享图片链接
 	 * @return 结果
 	 */
+	@SysLog("相册转发")
 	@GetMapping("/shareAlbumById")
 	public R<?> shareAlbumById(String id, String shareUserId, String openUserId, String type, String packageId, String sharePicUrl, String remark) {
 		return shareAndReadTaskMethod(id, shareUserId, openUserId, type, packageId, sharePicUrl, "album", remark);