Giter VIP home page Giter VIP logo

Comments (7)

zhaoche27 avatar zhaoche27 commented on August 22, 2024 1

@lgp547 没有问题了,close 一下哈

from oapi-sdk-java.

zhaoche27 avatar zhaoche27 commented on August 22, 2024

当前没有哈,需要你使用原生的方式(readme文档有相关说明)来处理哈

from oapi-sdk-java.

zd125735 avatar zd125735 commented on August 22, 2024

在当前sdk的模式增加不能实现吗?使用原生模式,等于参数拦截解密那些都得再做一遍咯。

from oapi-sdk-java.

lgp547 avatar lgp547 commented on August 22, 2024

主要是审批相关推送事件类型没拆开,都是1.0的event_callback,还得循环判断。。。

from oapi-sdk-java.

zhaoche27 avatar zhaoche27 commented on August 22, 2024

在当前sdk的模式增加不能实现吗?使用原生模式,等于参数拦截解密那些都得再做一遍咯。

等于参数拦截解密那些都得再做一遍咯, 不用呀,只是事件的数据是map结构而已。
例如处理: app_open 事件(你看看 readme 文档)

Event.setTypeHandler(this.getConfig(), "app_open", new DefaultHandler() {
@OverRide
public void Handle(Context context, Map<String, Object> event) throws Exception {
// Print the request ID of the request
log.info("requestId:{}", context.getRequestID());
// Print event
log.info("event:{}", event);
}
});

from oapi-sdk-java.

zhaoche27 avatar zhaoche27 commented on August 22, 2024

主要是审批相关推送事件类型没拆开,都是1.0的event_callback,还得循环判断。。。

事件里有 type 字段,我理解是拆开的,还有 循环判断 是啥意思?

from oapi-sdk-java.

lgp547 avatar lgp547 commented on August 22, 2024

主要是审理相关事件类型没拆开,都是1.0的event_callback,得循环判断。。。

事件里有类型的字段,我理解是拆开的,还有循环判断是啥英文?

sorry,是我搞错了,一开始没注意到。审批sdk搞搞呗,api还是挺多的

from oapi-sdk-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.