#E10-44# serverless/Action接口优化
parent
c0cb562e23
commit
bd5ca732a4
@ -0,0 +1,35 @@
|
|||||||
|
package com.weaver.seconddev.jcldoor.esb;
|
||||||
|
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
import com.weaver.esb.api.rpc.EsbRpcRemoteInterface;
|
||||||
|
@Service("esb_njjucailin_im_Action2")
|
||||||
|
public class EsbRpcRemoteJucailinUpdateImDataAction implements EsbRpcRemoteInterface, Serializable {
|
||||||
|
|
||||||
|
private static final Logger log = LoggerFactory.getLogger(EsbRpcRemoteUpdateImDataAction.class);
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Map<String, Object> execute(Map<String, Object> params) {
|
||||||
|
log.error("EsbRpcRemoteJucailinUpdateImDataAction");
|
||||||
|
Map<String, Object> returnMap = new HashMap<>();
|
||||||
|
returnMap.put("code","200");
|
||||||
|
returnMap.put("name","111");
|
||||||
|
returnMap.put("data","2222");
|
||||||
|
return returnMap;
|
||||||
|
}
|
||||||
|
|
||||||
|
// @Override
|
||||||
|
// public WeaResult<Map<String, Object>> execute(Map<String, Object> params) {
|
||||||
|
// log.error("EsbRpcRemoteUpdateImDataimpl");
|
||||||
|
// Map<String, Object> returnMap = new HashMap<>();
|
||||||
|
// returnMap.put("code","200");
|
||||||
|
// returnMap.put("name","111");
|
||||||
|
// returnMap.put("data","2222");
|
||||||
|
// return WeaResult.success(returnMap);
|
||||||
|
// }
|
||||||
|
}
|
Loading…
Reference in New Issue