/// <summary> /// 保存微信公众平台 /// /// </summary> /// <param name="model"></param> public void SaveWxPtInfo(Model.WxPtInfoModel model) { DAL.WxPtInfoDAL dal = new DAL.WxPtInfoDAL(); if (model.WxPtId == 0) { //添加微信公众平台 model.AccessTokenCreateTime = DateTime.Now; dal.Add(model); } else { //修改微信公众平台 dal.Update(model); } }
public Model.WxPtInfoModel GetWxPtInfoModel(decimal WxPtId) { DAL.WxPtInfoDAL dal = new DAL.WxPtInfoDAL(); return(dal.GetModel(WxPtId)); }
public DataSet GetWxPtPageList(string strWhere, int c, int p, string col) { DAL.WxPtInfoDAL dal = new DAL.WxPtInfoDAL(); return(dal.GetPageList(strWhere, c, p, col)); }
/// <summary> /// 获取公众平台资料 /// </summary> /// <param name="WxPtId"></param> /// <returns></returns> public DataSet GetWxPtInfoData(decimal WxPtId) { DAL.WxPtInfoDAL dal = new DAL.WxPtInfoDAL(); return(dal.GetInfoData(WxPtId)); }