C# Class yycms.union.wechat.Material

Inheritance: SDK
Mostra file Open project: seven1276/yycms Class Usage Examples

Public Methods

Method Description
Add ( String title, String anthor, String digest, int show_cover_pic, String content, String content_source_url, String image ) : Newtonsoft.Json.Linq.JObject

新增永久图文素材

BatchGet ( String type, int PageIndex ) : Newtonsoft.Json.Linq.JObject

获取素材列表

Detail ( String media_id ) : Newtonsoft.Json.Linq.JObject

查询单个获取永久素材

Image_Add ( string path ) : string

上传返回ID的图片素材

Image_Upload ( String _ImagePath ) : String

新增永久图文素材

Material ( String _Accecc_Token ) : System

Method Details

Add() public method

新增永久图文素材
public Add ( String title, String anthor, String digest, int show_cover_pic, String content, String content_source_url, String image ) : Newtonsoft.Json.Linq.JObject
title String
anthor String
digest String
show_cover_pic int
content String
content_source_url String
image String
return Newtonsoft.Json.Linq.JObject

BatchGet() public method

获取素材列表
public BatchGet ( String type, int PageIndex ) : Newtonsoft.Json.Linq.JObject
type String 素材的类型,图片(image)、视频(video)、语音 (voice)、图文(news)
PageIndex int
return Newtonsoft.Json.Linq.JObject

Detail() public method

查询单个获取永久素材
public Detail ( String media_id ) : Newtonsoft.Json.Linq.JObject
media_id String
return Newtonsoft.Json.Linq.JObject

Image_Add() public method

上传返回ID的图片素材
public Image_Add ( string path ) : string
path string 地址
return string

Image_Upload() public method

新增永久图文素材
public Image_Upload ( String _ImagePath ) : String
_ImagePath String
return String

Material() public method

public Material ( String _Accecc_Token ) : System
_Accecc_Token String
return System