package com.clx.performance.controller.thirdparty;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping(value="/nbbank")
@Api(tags = "宁波银行回调")
public class NbBankController {

    @ApiOperation(value = "notify", notes = "<br>By:艾庆国")
    @RequestMapping(value = "/notify", method = RequestMethod.POST)
    public void bankNotify(@RequestBody JSONObject param) {

        log.info("宁波银行回调, data:{}", param.toJSONString());

//        HashMap hashMap = new HashMap();
//        hashMap.put("errorCode", "000000");
//        hashMap.put("errorMsg", "000000");


    }

}
