GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 企业微信机器人webhookUrl地址问题 · Issue #1985 · binarywang/WxJava

企业微信机器人webhookUrl地址问题 #1985

New issue
Copy link
New issue
Copy link
Closed
Closed
企业微信机器人webhookUrl地址问题#1985
Copy link
Labels
企业微信
Milestone
4.0.5

Description

@adogcode
adogcode
opened on Feb 1, 2021
Issue body actions

简要描述

企业微信机器人webhookUrl地址无法在调用接口中设置,WxCpGroupRobotServiceImpl

模块版本情况

  • WxJava 模块名: weixin-java-cp
  • WxJava 版本号:4.0.0

详细描述

@OverRide
public void sendNews(String webhookUrl, List articleList) throws WxErrorException {
this.cpService.postWithoutToken(this.getWebhookUrl(), new WxCpGroupRobotMessage()
.setMsgType(GroupRobotMsgType.NEWS)
.setArticles(articleList).toJson());
}

日志

无法在接口中设置url地址:
image

Activity

  1. adogcode commented on Feb 1, 2021

    @adogcode
    adogcode
    on Feb 1, 2021
    Author
    More actions

    另外咨询下,如果我想用机器人发送一个不带picurl的news消息应该怎么处理?picurl设置为null的话不行。

  2. binarywang commented on Feb 1, 2021

    @binarywang
    binarywang
    on Feb 1, 2021
    Owner
    More actions

    顶楼提到的确实是疏忽导致,会稍后修复的

    另外咨询下,如果我想用机器人发送一个不带picurl的news消息应该怎么处理?picurl设置为null的话不行。

    不行的意思是什么?

  3. binarywang
    added
    企业微信
    on Feb 1, 2021
  4. binarywang
    added this to the 4.0.5 milestone on Feb 1, 2021
  5. binarywang
    added a commit that references this issue on Feb 1, 2021

    🐛 #1985 【企业微信】修复群机器人发送消息的部分错误代码

    f40547a
  6. binarywang
    closed this as completedon Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    企业微信

    Projects

    No projects

      Milestone

      • 4.0.5

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.