@@ -208,5 +208,23 @@ namespace Model
/// 关联参数
/// </summary>
public List<ApiParamObject> linkParam { get; set; }
+
+ /// <summary>
+ /// 关联参数数量
+ /// </summary>
+ public int linkParamCount {
+ get
+ {
+ if (linkParam != null)
+ return linkParam.Count;
+ }
+ else
+ return 0;
}
@@ -17,6 +17,17 @@ namespace Services
PagedInfo<GetApiGroupListVo> getApiGroupList([FromQuery] PagerInfo page, [FromQuery] ApiGroup param);
+ /// 生成api文档
+ /// <param name="serviceId">服务id</param>
+ Dictionary<string, object> makeApiDoc(int serviceId);
+ /// 同步api到管理平台
+ void sycnApiToSystem(int serviceId);
@@ -1,5 +1,6 @@
public class Utils
{
+ public static Dictionary<string, string> FeignUrl = new Dictionary<string, string>();
/// <summary>
/// 写日志