泛微OA调用三方restful接口

编程入门 行业动态 更新时间:2024-10-08 06:25:15

泛微OA调用<a href=https://www.elefans.com/category/jswz/34/1764625.html style=三方restful接口"/>

泛微OA调用三方restful接口

直接上代码:

package weaver.interfaces.workflow.action;import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.apachemons.logging.Log;
import org.apachemons.logging.LogFactory;
import org.springframework.http.*;
import org.springframework.web.client.RestTemplate;
import weaver.soa.workflow.request.Property;
import weaver.soa.workflow.request.RequestInfo;import java.URI;
import java.util.HashMap;
import java.util.Map;public class DenyAction implements Action {private Log log = LogFactory.getLog(DenyAction.class);@Overridepublic String execute(RequestInfo requestInfo) {// 获取主表数据Property[] properties = requestInfo.getMainTableInfo().getProperty();Map<String, Object> mainDatas = new HashMap<>();for (Property property : properties) {mainDatas.put(property.getName(), property.getValue());}// 构

更多推荐

泛微OA调用三方restful接口

本文发布于:2024-02-27 21:47:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1766347.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:三方   接口   泛微   OA   restful

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!