forked from chanjarster/weixin-java-tools
-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🆕 #2856 【企业微信】增加获取应用二维码的接口;【开放平台】增加使用 AppSecret 重置第三方平台 API 调用次数的接口
- Loading branch information
Showing
9 changed files
with
155 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpAppQrcode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package me.chanjar.weixin.cp.bean; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||
|
||
/** | ||
* 应用的管理员 | ||
* | ||
* @author huangxiaoming | ||
*/ | ||
@Data | ||
@EqualsAndHashCode(callSuper = true) | ||
public class WxCpTpAppQrcode extends WxCpBaseResp { | ||
private static final long serialVersionUID = -5028321625140879571L; | ||
|
||
@SerializedName("qrcode") | ||
private String qrcode; | ||
|
||
/** | ||
* From json wx cp tp admin. | ||
* | ||
* @param json the json | ||
* @return the wx cp tp admin | ||
*/ | ||
public static WxCpTpAppQrcode fromJson(String json) { | ||
return WxCpGsonBuilder.create().fromJson(json, WxCpTpAppQrcode.class); | ||
} | ||
|
||
public String toJson() { | ||
return WxCpGsonBuilder.create().toJson(this); | ||
} | ||
|
||
} |
35 changes: 35 additions & 0 deletions
35
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpCorpId2OpenCorpId.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package me.chanjar.weixin.cp.bean; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||
|
||
/** | ||
* 应用的管理员 | ||
* | ||
* @author huangxiaoming | ||
*/ | ||
@Data | ||
@EqualsAndHashCode(callSuper = true) | ||
public class WxCpTpCorpId2OpenCorpId extends WxCpBaseResp { | ||
private static final long serialVersionUID = -5028321625140879571L; | ||
|
||
@SerializedName("open_corpid") | ||
private String openCorpId; | ||
|
||
/** | ||
* From json wx cp tp admin. | ||
* | ||
* @param json the json | ||
* @return the wx cp tp admin | ||
*/ | ||
public static WxCpTpCorpId2OpenCorpId fromJson(String json) { | ||
return WxCpGsonBuilder.create().fromJson(json, WxCpTpCorpId2OpenCorpId.class); | ||
} | ||
|
||
public String toJson() { | ||
return WxCpGsonBuilder.create().toJson(this); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters