| | |
| | | |
| | | |
| | | import com.xiaopeng.account.mapper.XpOperationsRoleMapper; |
| | | import com.xiaopeng.account.model.dto.XpOperationsUserDTO; |
| | | import com.xiaopeng.account.model.query.XpOperationsUserPageQuery; |
| | | import com.xiaopeng.account.service.IXpOperationsUserService; |
| | | import com.xiaopeng.api.dto.account.XpOperationsUserQueryDTO; |
| | |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | return R.ok(profile); |
| | | } |
| | | |
| | | /** |
| | | * 运维APP-个人中心-证件上传 |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "个人中心-证件上传", tags = {"运维APP-个人中心"}) |
| | | @PostMapping("/api/v1/saveCertificate") |
| | | public R<?> saveCertificate(@Valid @RequestBody XpOperationsUserDTO dto){ |
| | | xpOperationsUserService.saveCertificate(dto); |
| | | return R.ok(); |
| | | } |
| | | } |