Commit c5b3f90b by songxiang

增加错题本相关的配置

parent 5af88616
...@@ -95,3 +95,6 @@ product.parentTutor.proLabelId = 7461 ...@@ -95,3 +95,6 @@ product.parentTutor.proLabelId = 7461
book.group.qrcode.domain = https://qrcode.5rs.me book.group.qrcode.domain = https://qrcode.5rs.me
ownAgentIds = 2,1362 ownAgentIds = 2,1362
## \u9519\u9898\u672C\u73AF\u5883\u57DF\u540D
papercut.domain = papercut.5rs.me
\ No newline at end of file
...@@ -96,3 +96,6 @@ product.parentTutor.proLabelId = 812 ...@@ -96,3 +96,6 @@ product.parentTutor.proLabelId = 812
book.group.qrcode.domain = https://qrcode.raysyun.com book.group.qrcode.domain = https://qrcode.raysyun.com
ownAgentIds = 12829 ownAgentIds = 12829
## \u9519\u9898\u672C\u73AF\u5883\u57DF\u540D
papercut.domain = papercut.raysyun.com
\ No newline at end of file
...@@ -20,7 +20,6 @@ import com.alibaba.fastjson.JSON; ...@@ -20,7 +20,6 @@ import com.alibaba.fastjson.JSON;
import com.pcloud.common.utils.string.StringUtil; import com.pcloud.common.utils.string.StringUtil;
/** /**
*
* @author:songx * @author:songx
* @date:2018年4月26日,下午2:32:36 * @date:2018年4月26日,下午2:32:36
*/ */
...@@ -67,7 +66,8 @@ public class ParamLogAspect { ...@@ -67,7 +66,8 @@ public class ParamLogAspect {
/** /**
* 方法执行完以后执行 * 方法执行完以后执行
* *
* @param object * @param joinPoint
* @param result
*/ */
@AfterReturning(pointcut = "bizPoint()", returning = "result") @AfterReturning(pointcut = "bizPoint()", returning = "result")
public void doAfterReturn(JoinPoint joinPoint, Object result) { public void doAfterReturn(JoinPoint joinPoint, Object result) {
......
...@@ -52,7 +52,17 @@ public enum TranscodeFromEnum { ...@@ -52,7 +52,17 @@ public enum TranscodeFromEnum {
/** /**
* 文件管理中心 * 文件管理中心
*/ */
CONVERT_PDF("CONVERT_PDF"); CONVERT_PDF("CONVERT_PDF"),
/**
* 错题本-题目
*/
NOTE_SUBJECT("NOTE_SUBJECT"),
/**
* 错题本-答案
*/
NOTE_ANSWER("NOTE_ANSWER");
/** /**
* 值 * 值
......
...@@ -1693,7 +1693,6 @@ public class OssUtils { ...@@ -1693,7 +1693,6 @@ public class OssUtils {
style.append(",image_" + new String(Base64.encodeBase64URLSafe(watermarkImageUrl.getBytes()))); style.append(",image_" + new String(Base64.encodeBase64URLSafe(watermarkImageUrl.getBytes())));
// 水印颜色,位置,偏移量 // 水印颜色,位置,偏移量
style.append(",g_nw,x_20,y_10"); style.append(",g_nw,x_20,y_10");
System.out.println(style.toString());
String result = imageWatermarkHandle(fileUrl, style.toString()); String result = imageWatermarkHandle(fileUrl, style.toString());
LOGGER.info("【aliOSS】图片增加水印(图片),<END>.[result]=" + result); LOGGER.info("【aliOSS】图片增加水印(图片),<END>.[result]=" + result);
return result; return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment