| 12345678910111213141516171819202122232425 |
- package openapi.restcontroller.wechatapp.system;
- import net.sf.json.JSONObject;
- import openapi.base.Controller;
- import openapi.base.data.Rows;
- import openapi.base.data.db.DBConnect;
- public class docinfos extends Controller {
- /**
- * ¹¹Ô캯Êý
- *
- * @param content
- */
- public docinfos(JSONObject content) {
- super(content);
- }
- public String getdoctypes() {
- DBConnect dbConnect = new DBConnect();
- Rows rows = dbConnect.runSqlQuery("select doctype,description,suffix,maxfilesize from doctypes where doctype='Attachments' ");
- return getReturnObject_suc(rows, true).toString();
- }
- }
|