package org.dromara.resource.controller;

import com.alibaba.fastjson.JSONObject;
import org.dromara.common.core.domain.R;
import org.dromara.common.web.core.BaseController;
import org.dromara.resource.junziqian.common.bean.sign.JzqBack;
import org.dromara.resource.service.impl.DhqSignServiceImpl;
import org.dromara.resource.service.impl.JzqSignServiceImpl;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author sunzexing
 * @version 1.0
 * @title SysDhqSignController
 * @description
 * @create 2024-05-23 13:46
 */

@RestController
@RequestMapping("/sign")
public class SysDhqSignController extends BaseController {


    @Resource
    public JzqSignServiceImpl jzqSignService;


    /****
     * 接收返回结果
     * @param
     * @return
     */
    @PostMapping("/accept")
    @ResponseBody
    public String accept(@RequestParam Map<String,Object> map)throws Exception{
       return this.jzqSignService.accpet(map);
    }

    /****
     * 接收返回结果
     * @param
     * @return
     */
    @PostMapping("/acceptSure")
    @ResponseBody
    public String acceptSure(@RequestParam Map<String,Object> map)throws Exception{
        return this.jzqSignService.accpetSure(map);
    }
}
