|
@@ -343,20 +343,5 @@ namespace TEAMModelOS.Controllers.Syllabus
|
|
|
return list;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- [HttpPost("Test")]
|
|
|
- public async Task<BaseJosnRPCResponse> TestAsync(JosnRPCRequest<Dictionary<string, object>> request)
|
|
|
- {
|
|
|
- JsonRPCResponseBuilder builder = JsonRPCResponseBuilder.custom();
|
|
|
- if (request.@params != null)
|
|
|
- {
|
|
|
- IQueryable<dynamic> data = _cosmos.FindCountByDict("Knowledge", request.@params);
|
|
|
- //List<Knowledge> knowledges = await _cosmos.FindSQL<Knowledge>("SELECT value(c) FROM c join a in c.points where Contains(a, 'bbd677cafb8dd84b22213af7675a4f27dbdd9541') = true ", true);
|
|
|
- return builder.Data(data).build();
|
|
|
-
|
|
|
- }
|
|
|
- else return builder.Error(false, ResponseCode.PARAMS_ERROR, "参数为空").build();
|
|
|
- }*/
|
|
|
-
|
|
|
}
|
|
|
}
|