3 changed files with 37 additions and 1 deletions
@ -0,0 +1,30 @@ |
|||
package com.epmet.controller; |
|||
|
|||
import com.epmet.commons.tools.annotation.LoginUser; |
|||
import com.epmet.commons.tools.security.dto.TokenDto; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.form.AddDepartmentFormDTO; |
|||
import com.epmet.service.CustomerStaffDepartmentService; |
|||
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; |
|||
|
|||
/** |
|||
* @Auther zxc |
|||
* @Create 2020-04-24 14:48 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value = "/department") |
|||
public class DepartmentController { |
|||
|
|||
@Autowired |
|||
private CustomerStaffDepartmentService customerStaffDepartmentService; |
|||
|
|||
@PostMapping(value = "adddepartmentstaff") |
|||
public Result addDepartmentStaff(@LoginUser TokenDto tokenDto, @RequestBody AddDepartmentFormDTO addDepartmentFormDTO){ |
|||
return null; |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue