/// <summary> /// 发送文本客服消息 /// </summary> /// <param name="accessTokenOrAppId"></param> /// <param name="openId"></param> /// <param name="content"></param> /// <returns></returns> public override ApiResult SendText(string accessTokenOrAppId, string openId, string content) { SenparcTrace.SendCustomLog("wxTest-sendText", "openID:" + openId + " || appID:" + accessTokenOrAppId + "|| content:" + content); var reuslt = CustomApi.SendText(accessTokenOrAppId, openId, content); return(new ApiResult((int)reuslt.errcode, reuslt.errmsg, reuslt)); }
/// <summary> /// 发送图片客服消息 /// </summary> /// <param name="accessTokenOrAppId"></param> /// <param name="openId"></param> /// <param name="mediaId"></param> /// <returns></returns> public override ApiResult SendImage(string accessTokenOrAppId, string openId, string mediaId) { var reuslt = CustomApi.SendImage(accessTokenOrAppId, openId, mediaId); return(new ApiResult((int)reuslt.errcode, reuslt.errmsg, reuslt)); }
/// <summary> /// 发送文本客服消息 /// </summary> /// <param name="accessTokenOrAppId"></param> /// <param name="openId"></param> /// <param name="content"></param> /// <returns></returns> public override ApiResult SendText(string accessTokenOrAppId, string openId, string content) { var reuslt = CustomApi.SendText(accessTokenOrAppId, openId, content); return(new ApiResult((int)reuslt.errcode, reuslt.errmsg, reuslt)); }