Commit ed77b80b authored by 胡建龙's avatar 胡建龙

[update] 中登网接口升级

parent 1e30c86f
/*
* Copyright (C), 2018-2021
* FileName: ZdwWsRequestsController
* Author: lsy
* Date: 2021/8/3 16:37
* Description:
* History:
* <author> <time> <version> <desc>
* lishuangyi 修改时间 版本号 描述
*/
package com.hand.app.zhongDengWang.controllers;
import com.alibaba.fastjson.JSONObject;
import com.hand.app.zhongDengWang.service.IZdwNewWsRequestsService;
import com.hand.app.zhongDengWang.service.IZdwWsRequestsService;
import com.hand.hap.core.IRequest;
import com.hand.hap.system.controllers.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
/**
* 〈〉
*
* @author 27214
* @create 2021/8/3
* @since 1.0.0
*/
@Controller
@RequestMapping(value = {"/r/api", "/"})
public class ZdwNewWsRequestsController extends BaseController {
@Autowired
private IZdwNewWsRequestsService service;
/**
* 中登网融资租赁-登记入口
**/
@RequestMapping(value = "/zdw/new/service/register/init")
@ResponseBody
public JSONObject initRegister(HttpServletRequest request, @RequestBody(required = true) JSONObject params) {
IRequest requestContext = createRequestContext(request);
return service.initRegisterService(requestContext, params);
}
}
\ No newline at end of file
...@@ -81,6 +81,8 @@ public class FndZhongDengLines extends BaseDTO { ...@@ -81,6 +81,8 @@ public class FndZhongDengLines extends BaseDTO {
private String typebz; private String typebz;
private String requestJson;
public void setLineId(Long lineId) { public void setLineId(Long lineId) {
this.lineId = lineId; this.lineId = lineId;
...@@ -266,4 +268,11 @@ public class FndZhongDengLines extends BaseDTO { ...@@ -266,4 +268,11 @@ public class FndZhongDengLines extends BaseDTO {
return typebz; return typebz;
} }
public String getRequestJson() {
return requestJson;
}
public void setRequestJson(String requestJson) {
this.requestJson = requestJson;
}
} }
package com.hand.app.zhongDengWang.service;
import com.alibaba.fastjson.JSONObject;
import com.hand.hap.core.IRequest;
import com.hand.hap.core.ProxySelf;
public interface IZdwNewWsRequestsService extends ProxySelf<IZdwNewWsRequestsService>{
JSONObject initRegisterService(IRequest request, JSONObject params);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment