💄 Updating the UI and style files. 秘钥类型唯一性判断
This commit is contained in:
1 parent
fb9aac9028
commit
3f8e684287
1 file changed
+6
-4
+6
-4
@@ -62,12 +62,14 @@ public class SysSocialDetailsController {
|
||||
/**
|
||||
* 信息
|
||||
*
|
||||
* @param id
|
||||
* @param type 类型
|
||||
* @return R
|
||||
*/
|
||||
@GetMapping("/{id}")
|
||||
public R getById(@PathVariable("id") Integer id) {
|
||||
return R.ok(sysSocialDetailsService.getById(id));
|
||||
@GetMapping("/{type}")
|
||||
public R getByType(@PathVariable("type") String type) {
|
||||
return R.ok(sysSocialDetailsService
|
||||
.list(Wrappers.<SysSocialDetails>lambdaQuery()
|
||||
.eq(SysSocialDetails::getType, type)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user