package com.fjhx.u.controller;

import com.fjhx.params.u.ULoginLogVo;
import com.fjhx.u.service.ULoginLogService;
import org.springblade.core.tool.api.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author ${author}
 * @since 2023-01-31
 */
@RestController
@RequestMapping("/uLoginLog")
public class ULoginLogController {

    @Autowired
    private ULoginLogService uLoginLogService;

    @PostMapping("/add")
    public R add(@RequestBody ULoginLogVo uLoginLogVo) {
        uLoginLogService.add(uLoginLogVo);
        return R.success();
    }

}

