|
|
@ -108,7 +108,7 @@ public class ResourceController extends Controller {
|
|
|
|
@Before(GET.class)
|
|
|
|
@Before(GET.class)
|
|
|
|
@IsNumericInterface({"id"})
|
|
|
|
@IsNumericInterface({"id"})
|
|
|
|
@IsLoginInterface({})
|
|
|
|
@IsLoginInterface({})
|
|
|
|
public void download(int id) {
|
|
|
|
public void ResDownload(int id) {
|
|
|
|
Record record = rm.getZskDocument(id);
|
|
|
|
Record record = rm.getZskDocument(id);
|
|
|
|
String name = record.getStr("name");
|
|
|
|
String name = record.getStr("name");
|
|
|
|
String file_name = record.getStr("file_name");
|
|
|
|
String file_name = record.getStr("file_name");
|
|
|
|