package com.dcsoft.system.face.controller;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.dcsoft.common.core.utils.StringUtils;
import com.dcsoft.common.core.web.domain.AjaxResult;
import com.dcsoft.common.redis.service.RedisService;
import com.dcsoft.system.api.domain.SysUser;
import com.dcsoft.system.domain.SysEquipment;
import com.dcsoft.system.domain.SysPeople;
import com.dcsoft.system.domain.SysPeopleRecord;
import com.dcsoft.system.service.ISysEquipmentService;
import com.dcsoft.system.service.ISysPeopleRecordService;
import com.dcsoft.system.service.ISysPeopleService;
import com.dcsoft.system.service.ISysUserService;
import com.dcsoft.system.uniubi.domain.EventResult;
import com.dcsoft.system.uniubi.service.ISysApiService;
import com.dcsoft.system.utils.HttpUtil;
import com.dcsoft.system.utils.WeChatUtil;
import com.dcsoft.system.visitor.domain.Visitor;
import com.dcsoft.system.visitor.service.IVisitorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.Map;

import static com.dcsoft.common.core.web.domain.AjaxResult.success;


/**
 * 用户管理 业务处理
 *
 * @author nichun
 */
@RestController
@RequestMapping("/api")
public class IDaasController {


    /**
     * 获取IDaas回调信息
     * @return 用户信息
     */
    @PostMapping("/IDaasUrl")
    public AjaxResult iDaasUrl(EventResult event) {
        System.out.println("======回调信息============="+event);



        return success(event);
    }




}
