Exemple #1
0
    private void GetQyWxPtInfo()
    {
        BLL.WxBLL wbll     = new BLL.WxBLL();
        decimal   QyWxPtId = ReDecimal("QyWxPtId", 0);
        DataSet   ds       = wbll.GetQyWxPtInfo(QyWxPtId);
        DataTable dt       = ds.Tables[0];

        if (dt.Rows.Count == 0)
        {
            throw new Exception("企业微信号不存在!");
        }

        ReDict.Add("QyWxPt", JsonHelper.ToJsonNo1(dt));
        ReTrue();
    }