Commit 4e486e8d by fudahua

gic跳转登录

parent 64a8c58b
......@@ -154,7 +154,7 @@
<include refid="Base_Column_List" />
from tab_haoban_wx_enterprise_related
where status_flag = 1
AND update_time > #{time}
AND AND DATE_FORMAT(update_time,'%Y-%m-%d') = #{time}
</select>
</mapper>
\ No newline at end of file
......@@ -215,14 +215,31 @@ public void sendMessage() {
@Test
public void extensionList4() {
// msg59NLDQAAKvRi-fguFcKRVOjeoJKRJw
// String img="https://pic01-10001430.image.myqcloud.com/53205d69-01f1-4706-a258-014d59d8d106";
// byte[] aByte = getByte(img);
String img="https://pic01-10001430.image.myqcloud.com/53205d69-01f1-4706-a258-014d59d8d106";
byte[] aByte = getByte(img);
// JSONResponse response = qywxSuiteApiService.uploadMedia("ww9ede832a84b7ae5f", "ww2c34dc56739bb105", aByte, QywxMediaTypeEnum.IMAGE.getCode());
// System.out.println(JSONObject.toJSONString(response));
JSONResponse response1 = qywxSuiteApiService.resultExternalMessage("ww9ede832a84b7ae5f", "ww2c34dc56739bb105", "msg59NLDQAAKvRi-fguFcKRVOjeoJKRJw");
JSONResponse response1 = qywxSuiteApiService.uploadImage("ww9ede832a84b7ae5f", "ww2c34dc56739bb105", aByte);
System.out.println(JSONObject.toJSONString(response1));
}
@Test
public void redis() {
long key=111;
RedisUtil.setCache("test-key-11",key);
Long key2=111L;
RedisUtil.setCache("test-key-112",key2);
RedisUtil.setCache("test-key-113",1);
int ke22y=22;
RedisUtil.setCache("test-key-115",ke22y);
RedisUtil.setCache("test-key-114","1");
}
private byte[] getByte(String strUrl){
ByteArrayOutputStream baos = null;
try
......
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