1、新增小程序相关接口

2、调整OA
This commit is contained in:
2026-09-18 16:31:37 +08:00
parent 0fa0eae43c
commit 01993779a7
71 changed files with 6463 additions and 213 deletions
@@ -73,6 +73,7 @@ public interface ISysClient {
String REGION = API_PREFIX + "/region";
String FEE_ITEMS = API_PREFIX + "/fee-items";
String CARGO_TYPES = API_PREFIX + "/cargo-types";
String PERMISSIONS = API_PREFIX + "/permissions";
/**
* 获取菜单
@@ -316,4 +317,13 @@ public interface ISysClient {
@GetMapping(CARGO_TYPES)
R<List<CargoType>> getCargoTypes();
/**
* 获取角色权限标识集合(按钮编号)
*
* @param roleId 角色id
* @return 权限标识
*/
@GetMapping(PERMISSIONS)
R<List<String>> getPermissions(@RequestParam("roleId") String roleId);
}
@@ -174,4 +174,9 @@ public class ISysClientFallback implements ISysClient {
return R.fail("获取数据失败");
}
@Override
public R<List<String>> getPermissions(String roleId) {
return R.fail("获取数据失败");
}
}
@@ -0,0 +1,66 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.system.pojo.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* OA人员分页同步结果
*
* @author Chill
*/
@Data
@Schema(description = "OA人员分页同步结果")
public class OaPersonSyncPageVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
@Schema(description = "当前页")
private Integer current;
@Schema(description = "每页条数")
private Integer size;
@Schema(description = "OA人员总条数")
private Long total;
@Schema(description = "本页从OA拉取的条数")
private Integer fetchedCount;
@Schema(description = "本页同步成功条数")
private Integer syncedCount;
@Schema(description = "本页跳过条数")
private Integer skippedCount;
@Schema(description = "是否已到最后一页")
private Boolean finished;
}