Skip to content

Commit

Permalink
1.0.15.RC
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound403 committed Jun 26, 2023
1 parent ca070a6 commit ee3b0c6
Show file tree
Hide file tree
Showing 23 changed files with 38 additions and 30 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ wecom-sdk是开源的企业微信开放API的Java实现,历经三年迭代,

## 采用技术栈

- Spring RestTemplate
- okhttp
- retrofit
- rxjava
Expand Down
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<groupId>cn.felord</groupId>
<artifactId>wecom</artifactId>
<version>1.0.14</version>
<version>1.0.15.RC</version>
<packaging>pom</packaging>

<name>wecom</name>
Expand Down Expand Up @@ -97,7 +97,6 @@
<okhttp3.version>4.10.0</okhttp3.version>
<lombok.version>1.18.26</lombok.version>
<jackson.version>2.13.5</jackson.version>
<slf4j.version>2.0.7</slf4j.version>
<xstream.version>1.4.20</xstream.version>
</properties>

Expand Down Expand Up @@ -183,11 +182,6 @@
<artifactId>xstream</artifactId>
<version>${xstream.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion rx-wecom-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>cn.felord</groupId>
<artifactId>wecom</artifactId>
<version>1.0.14</version>
<version>1.0.15.RC</version>
</parent>
<artifactId>rx-wecom-sdk</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* 应用配置管理.
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public interface AgentManagerApi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* 通讯录管理
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public class ContactBookManager {
private final WorkWeChatApiClient workWeChatApiClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* 日程接口
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public interface ScheduleApi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* The type Js sdk ticket api.
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public class SdkTicketApi {
private static final String SIGNATURE_FORMATTER = "jsapi_ticket={0}&noncestr={1}&timestamp={2}&url={3}";
Expand Down
2 changes: 1 addition & 1 deletion samples/spring-boot-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>cn.felord</groupId>
<artifactId>wecom-sdk</artifactId>
<version>1.0.14</version>
<version>1.0.15.RC</version>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
/*
* Copyright (c) 2023. felord.cn
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://www.apache.org/licenses/LICENSE-2.0
* Website:
* https://felord.cn
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package cn.felord.wecom.api;

import cn.felord.callbacks.CallbackCrypto;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;

/**
* 通用回调,这里照搬即可,记得权限放行,过滤器拦截器也放行
* 通用回调,这里照搬即可,记得权限放行,过滤器拦截器也放行,改变请求体结构会造成验签失败
* <p>
* 所有配置回调的地方都可以配置成一个接口,格式/wecom/callback/企微企业id/企微应用id
* <p>
* 企微企业id去企业微信控制台找
* 企微应用id,如果是自建的应用去应用管理查看agentid,如果是企微内置的应用查看{@link cn.felord.enumeration.NativeAgent}
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
@AllArgsConstructor
@RestController
Expand Down
2 changes: 1 addition & 1 deletion wecom-objects/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>cn.felord</groupId>
<artifactId>wecom</artifactId>
<version>1.0.14</version>
<version>1.0.15.RC</version>
</parent>
<artifactId>wecom-objects</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* The interface Callback consumer.
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public final class CallbackAsyncConsumer {
private final ExecutorService executor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
@Data
public class JSignatureResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* The enum Bool enum.
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public enum BoolEnum {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* The enum Email type.
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public enum EmailType {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* 重复类型
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public enum FormRepeatType {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* The enum Bool enum.
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public enum MessageSafe {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* 日程提醒
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public enum RemindBeforeEventSecs {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* 重复类型
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public enum RepeatType {

Expand Down
2 changes: 1 addition & 1 deletion wecom-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>cn.felord</groupId>
<artifactId>wecom</artifactId>
<version>1.0.14</version>
<version>1.0.15.RC</version>
</parent>
<artifactId>wecom-sdk</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion wecom-sdk/src/main/java/cn/felord/api/AgentManagerApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* 应用配置管理.
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public interface AgentManagerApi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* 通讯录管理
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public class ContactBookManager {
private final WorkWeChatApiClient workWeChatApiClient;
Expand Down
2 changes: 1 addition & 1 deletion wecom-sdk/src/main/java/cn/felord/api/ScheduleApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* 日程接口
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public interface ScheduleApi {

Expand Down
2 changes: 1 addition & 1 deletion wecom-sdk/src/main/java/cn/felord/api/SdkTicketApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* The type Js sdk ticket api.
*
* @author felord.cn
* @since 1.0.14.RELEASE
* @since 1.0.0
*/
public class SdkTicketApi {
private static final String SIGNATURE_FORMATTER = "jsapi_ticket={0}&noncestr={1}&timestamp={2}&url={3}";
Expand Down

0 comments on commit ee3b0c6

Please sign in to comment.