mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 16:18:51 +08:00
fix typo
This commit is contained in:
parent
3dd70569e6
commit
1cd06082aa
@ -21,8 +21,8 @@ public interface WxMpCardService {
|
|||||||
String CARD_CODE_CONSUME = "https://api.weixin.qq.com/card/code/consume";
|
String CARD_CODE_CONSUME = "https://api.weixin.qq.com/card/code/consume";
|
||||||
String CARD_CODE_MARK = "https://api.weixin.qq.com/card/code/mark";
|
String CARD_CODE_MARK = "https://api.weixin.qq.com/card/code/mark";
|
||||||
String CARD_TEST_WHITELIST = "https://api.weixin.qq.com/card/testwhitelist/set";
|
String CARD_TEST_WHITELIST = "https://api.weixin.qq.com/card/testwhitelist/set";
|
||||||
String CARD_QRCODE_CREAET = "https://api.weixin.qq.com/card/qrcode/create";
|
String CARD_QRCODE_CREATE = "https://api.weixin.qq.com/card/qrcode/create";
|
||||||
String CARD_LANDING_PAGE_CREAET = "https://api.weixin.qq.com/card/landingpage/create";
|
String CARD_LANDING_PAGE_CREATE = "https://api.weixin.qq.com/card/landingpage/create";
|
||||||
/**
|
/**
|
||||||
* 将用户的卡券设置为失效状态
|
* 将用户的卡券设置为失效状态
|
||||||
*/
|
*/
|
||||||
|
@ -293,7 +293,7 @@ public class WxMpCardServiceImpl implements WxMpCardService {
|
|||||||
cardJson.addProperty("outer_str", outerStr);
|
cardJson.addProperty("outer_str", outerStr);
|
||||||
actionInfoJson.add("card", cardJson);
|
actionInfoJson.add("card", cardJson);
|
||||||
jsonObject.add("action_info", actionInfoJson);
|
jsonObject.add("action_info", actionInfoJson);
|
||||||
String response = this.wxMpService.post(CARD_QRCODE_CREAET, GSON.toJson(jsonObject));
|
String response = this.wxMpService.post(CARD_QRCODE_CREATE, GSON.toJson(jsonObject));
|
||||||
return WxMpCardQrcodeCreateResult.fromJson(response);
|
return WxMpCardQrcodeCreateResult.fromJson(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -306,7 +306,7 @@ public class WxMpCardServiceImpl implements WxMpCardService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public WxMpCardLandingPageCreateResult createLandingPage(WxMpCardLandingPageCreateRequest request) throws WxErrorException {
|
public WxMpCardLandingPageCreateResult createLandingPage(WxMpCardLandingPageCreateRequest request) throws WxErrorException {
|
||||||
String response = this.wxMpService.post(CARD_LANDING_PAGE_CREAET, GSON.toJson(request));
|
String response = this.wxMpService.post(CARD_LANDING_PAGE_CREATE, GSON.toJson(request));
|
||||||
return WxMpCardLandingPageCreateResult.fromJson(response);
|
return WxMpCardLandingPageCreateResult.fromJson(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user