package com.upsfj.sfjprojectbackend.controller;

import com.upsfj.sfjprojectbackend.entity.RestBean;
import com.upsfj.sfjprojectbackend.entity.user.AccountUser;
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;

/*
 *文件名: LoginController
 *创建者: LuoYiWang
 *创建时间:2024/3/29 20:55
 *描述:
 */
@RestController
@RequestMapping("/api/auth")
public class LoginController {

    @PostMapping("/login")
    public RestBean<Object> login(@RequestBody AccountUser accountUser){
//        System.out.println(accountUser.toString());

        return RestBean.success();
    }


}
