Commit da9236e7 by 王德峰

bb 项目初始化

    清理部分
    清理wk任务
parent f621a263
/**
* abssqr.com Inc.
* Copyright (c) 2017-2019 All Rights Reserved.
*/
package com.abssqr.plat.common.facade.service.plan;
import com.abssqr.plat.common.facade.param.plan.alloc.PlanAllocPayParam;
import com.abssqr.plat.common.facade.result.plan.PlanAllocPayInfoVO;
/**
*
* @author hanfei
* @version $Id: PlanAllocPayService.java, v 0.1 2019-07-09 4:49 PM hanfei Exp $
*/
public interface PlanAllocPayService {
void allocPay(PlanAllocPayParam param);
PlanAllocPayInfoVO allocInfo(PlanAllocPayParam param);
}
/**
* abssqr.com Inc.
* Copyright (c) 2017-2019 All Rights Reserved.
*/
package com.abssqr.plat.web.controller.plan;
import com.abssqr.plat.common.facade.param.plan.alloc.PlanAllocPayParam;
import com.abssqr.plat.common.facade.result.plan.PlanAllocPayInfoVO;
import com.abssqr.plat.common.facade.service.plan.PlanAllocPayService;
import com.general.enhanced.controller.annotation.RestJsonController;
import com.general.system.common.model.BaseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
* 分配计划 兑付支付
*
* @author hanfei
*/
@RestJsonController
public class PlanAllocPayController {
@Autowired
private PlanAllocPayService planAllocPayService;
/**
* 分配计划发起 支付 或 支付入账
* @param param
* @return
*/
@RequestMapping(path = "/plan/alloc/pay.json", method = RequestMethod.POST)
public BaseResult pay(@RequestBody PlanAllocPayParam param) {
planAllocPayService.allocPay(param);
return BaseResult.success("发起支付操作成功");
}
/**
* 查询分配详情
* @param param
* @return
*/
@RequestMapping(path = "/plan/alloc/pay.json", method = RequestMethod.GET)
public PlanAllocPayInfoVO info(PlanAllocPayParam param) {
return planAllocPayService.allocInfo(param);
}
}
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