|
|
|
@ -9,7 +9,6 @@ import com.jfinal.aop.Before;
|
|
|
|
|
import com.jfinal.core.Controller;
|
|
|
|
|
import com.jfinal.ext.interceptor.GET;
|
|
|
|
|
import com.jfinal.ext.interceptor.POST;
|
|
|
|
|
import com.jfinal.kit.Kv;
|
|
|
|
|
import com.jfinal.plugin.activerecord.Page;
|
|
|
|
|
import com.jfinal.plugin.activerecord.Record;
|
|
|
|
|
import io.github.yedaxia.apidocs.ApiDoc;
|
|
|
|
@ -290,8 +289,8 @@ public class BaseController extends Controller {
|
|
|
|
|
*/
|
|
|
|
|
@Before({GET.class})
|
|
|
|
|
@JwtCheckInterface({})
|
|
|
|
|
public void getResourceStructureBySchemeId(int scheme_id) {
|
|
|
|
|
Record record = bm.getResourceStructureBySchemeId(scheme_id);
|
|
|
|
|
renderJson(RetKit.renderSuccess(record));
|
|
|
|
|
public void fetchStructure(int scheme_id) {
|
|
|
|
|
List<Record> list = bm.fetchStructure(scheme_id, -1);
|
|
|
|
|
renderJson(RetKit.renderSuccess("成功", list, null, 1, 99999, list.size()));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|