Browse Source

1.设置人才超市appid和appsercet。

tomatozq 5 năm trước cách đây
mục cha
commit
e14043fb82

+ 2 - 2
picc-admin-server/src/main/resources/application-test.yml

@@ -22,8 +22,8 @@ pdf:
   outputPath: C:\\picc\\pdf
 
 weixin:
-  appId: wxc0ddd6a415c535d9
-  appSecret: 042fe6c9c970c1d9fe585dccfca89221
+  appId: wxf6af207d9143d1de
+  appSecret: c86c042923e72c61c76a3a8658349312
   tokenUrl: "http://www.jzrccs.com/weixin-middleware/token"
   createQrCodeUrl: "http://www.jzrccs.com/weixin-middleware/qrcode/create"
   sendTmplMsgUrl: "https://api.weixin.qq.com/cgi-bin/message/template/send"

+ 40 - 0
picc-common/src/main/java/com/jpsoft/picc/modules/sys/entity/SysLog.java

@@ -0,0 +1,40 @@
+package com.jpsoft.picc.modules.sys.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.math.BigDecimal;
+
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+import io.swagger.annotations.ApiModel;
+
+/**
+  描述:sys_log的实体类
+ */
+@Data
+@ApiModel(value = "sys_log的实体类")
+public class SysLog {
+    @ApiModelProperty(value = "日志编号")
+	private Long id;
+    @ApiModelProperty(value = "客户端IP")
+	private String remoteIp;
+    @ApiModelProperty(value = "访问url")
+	private String url;
+    @ApiModelProperty(value = "提交参数")
+	private String data;
+    @ApiModelProperty(value = "用户编号")
+	private String userId;
+	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone ="GMT+8")
+    @ApiModelProperty(value = "创建时间")
+	private Date createTime;
+	@ApiModelProperty(value = "备注")
+	private String remark;
+	@ApiModelProperty(value = "耗时(毫秒)")
+	private Long elapse;
+	@ApiModelProperty(value = "入口")
+	private String pointcut;
+}

+ 2 - 0
picc-enterprise-server/src/main/resources/application-dev.yml

@@ -29,6 +29,8 @@ logger:
 weixin:
   appId: wxc0ddd6a415c535d9
   appSecret: 042fe6c9c970c1d9fe585dccfca89221
+#  appId: wxf6af207d9143d1de
+#  appSecret: c86c042923e72c61c76a3a8658349312
   tokenUrl: "http://www.jzrccs.com/weixin-middleware/token"
   createQrCodeUrl: "http://www.jzrccs.com/weixin-middleware/qrcode/create"
   sendTmplMsgUrl: "https://api.weixin.qq.com/cgi-bin/message/template/send"

+ 2 - 2
picc-enterprise-server/src/main/resources/application-test.yml

@@ -29,8 +29,8 @@ jpcloud:
   platformCode: '0008'
 
 weixin:
-  appId: wxc0ddd6a415c535d9
-  appSecret: 042fe6c9c970c1d9fe585dccfca89221
+  appId: wxf6af207d9143d1de
+  appSecret: c86c042923e72c61c76a3a8658349312
   tokenUrl: "http://www.jzrccs.com/weixin-middleware/token"
   createQrCodeUrl: "http://www.jzrccs.com/weixin-middleware/qrcode/create"
   sendTmplMsgUrl: "https://api.weixin.qq.com/cgi-bin/message/template/send"