zoukankan      html  css  js  c++  java
  • 查询接口

    namespace JngsWeb.BLL.Interface
    {
    public class get_complain_list : JsonBase
    {
    public JngsDal tdal = null;
    public get_complain_list(JsonData dta)
    : base(dta)
    { tdal = new JngsDal(); }

    public override object GetData()
    {
    string uid = "";
    try { uid = (string)optdatas["userid"]; }
    catch { uid = ""; }

    string page = "";
    try { page = (string)optdatas["page"]; }
    catch { page = ""; }

    string sta = "";
    try { sta = (string)optdatas["sta"]; }
    catch { sta = ""; }

    string startime = "";
    try { startime = (string)optdatas["startime"]; }
    catch { startime = ""; }

    string endtime = "";
    try { endtime = (string)optdatas["endtime"]; }
    catch { endtime = ""; }

    string info = "";
    try { info = (string)optdatas["info"]; }
    catch { info = ""; }

    DataTable dt = new DataTable();
    JsonData js = new JsonData();

    try
    {
    dt = tdal.get_complain_list(uid, page,sta,startime,endtime,info);
    js = DataTableToJson(dt);
    }
    catch (Exception ex)
    {
    JngsDal.RecordError("get_complain_list", ex.Message);
    }
    return js;
    }

    }
    }

  • 相关阅读:
    QR code 乱谈(一)
    用JAVA实现数字水印(可见)
    ctf总结
    Unix/Linux常用命令
    C语言概述
    C语言发发展历史
    为什么要学习C语言
    计算机应用领域
    计算机发展趋势
    如何学习计算机
  • 原文地址:https://www.cnblogs.com/guo970910/p/9820625.html
Copyright © 2011-2022 走看看