C# Class Senparc.Weixin.MP.AdvancedAPIs.PoiApi

门店管理接口
Afficher le fichier Open project: JeffreySu/WeiXinMPSDK

Méthodes publiques

Méthode Description
AddPoi ( string accessTokenOrAppId, CreateStoreData createStoreData, int timeOut = Config.TIME_OUT ) : WxJsonResult

创建门店

AddPoiAsync ( string accessTokenOrAppId, CreateStoreData createStoreData, int timeOut = Config.TIME_OUT ) : Task

【异步方法】创建门店

DeletePoi ( string accessTokenOrAppId, string poiId, int timeOut = Config.TIME_OUT ) : WxJsonResult

删除门店

DeletePoiAsync ( string accessTokenOrAppId, string poiId, int timeOut = Config.TIME_OUT ) : Task

【异步方法】删除门店

GetCategory ( string accessTokenOrAppId ) : GetCategoryResult

获取门店类目表

GetCategoryAsync ( string accessTokenOrAppId ) : Task

【异步方法】获取门店类目表

GetPoi ( string accessTokenOrAppId, string poiId, int timeOut = Config.TIME_OUT ) : GetStoreResultJson

查询门店信息

GetPoiAsync ( string accessTokenOrAppId, string poiId, int timeOut = Config.TIME_OUT ) : Task

【异步方法】查询门店信息

GetPoiList ( string accessTokenOrAppId, int begin, int limit = 20, int timeOut = Config.TIME_OUT ) : GetStoreListResultJson

查询门店列表

GetPoiListAsync ( string accessTokenOrAppId, int begin, int limit = 20, int timeOut = Config.TIME_OUT ) : Task

【异步方法】查询门店列表

UpdatePoi ( string accessTokenOrAppId, UpdateStoreData updateStoreData, int timeOut = Config.TIME_OUT ) : WxJsonResult

修改门店服务信息

UpdatePoiAsync ( string accessTokenOrAppId, UpdateStoreData updateStoreData, int timeOut = Config.TIME_OUT ) : Task

【异步方法】修改门店服务信息

UploadImage ( string accessTokenOrAppId, string file, int timeOut = Config.TIME_OUT ) : UploadImageResultJson

上传图片

UploadImageAsync ( string accessTokenOrAppId, string file, int timeOut = Config.TIME_OUT ) : Task

【异步方法】上传图片

Method Details

AddPoi() public static méthode

创建门店
public static AddPoi ( string accessTokenOrAppId, CreateStoreData createStoreData, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
createStoreData Senparc.Weixin.MP.AdvancedAPIs.Poi.CreateStoreData
timeOut int
Résultat Senparc.Weixin.Entities.WxJsonResult

AddPoiAsync() public static méthode

【异步方法】创建门店
public static AddPoiAsync ( string accessTokenOrAppId, CreateStoreData createStoreData, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
createStoreData Senparc.Weixin.MP.AdvancedAPIs.Poi.CreateStoreData
timeOut int
Résultat Task

DeletePoi() public static méthode

删除门店
public static DeletePoi ( string accessTokenOrAppId, string poiId, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
poiId string
timeOut int
Résultat Senparc.Weixin.Entities.WxJsonResult

DeletePoiAsync() public static méthode

【异步方法】删除门店
public static DeletePoiAsync ( string accessTokenOrAppId, string poiId, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
poiId string
timeOut int
Résultat Task

GetCategory() public static méthode

获取门店类目表
public static GetCategory ( string accessTokenOrAppId ) : GetCategoryResult
accessTokenOrAppId string
Résultat Senparc.Weixin.MP.AdvancedAPIs.Poi.GetCategoryResult

GetCategoryAsync() public static méthode

【异步方法】获取门店类目表
public static GetCategoryAsync ( string accessTokenOrAppId ) : Task
accessTokenOrAppId string
Résultat Task

GetPoi() public static méthode

查询门店信息
public static GetPoi ( string accessTokenOrAppId, string poiId, int timeOut = Config.TIME_OUT ) : GetStoreResultJson
accessTokenOrAppId string
poiId string
timeOut int
Résultat Senparc.Weixin.MP.AdvancedAPIs.Poi.GetStoreResultJson

GetPoiAsync() public static méthode

【异步方法】查询门店信息
public static GetPoiAsync ( string accessTokenOrAppId, string poiId, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
poiId string
timeOut int
Résultat Task

GetPoiList() public static méthode

查询门店列表
public static GetPoiList ( string accessTokenOrAppId, int begin, int limit = 20, int timeOut = Config.TIME_OUT ) : GetStoreListResultJson
accessTokenOrAppId string
begin int 开始位置,0 即为从第一条开始查询
limit int 返回数据条数,最大允许50,默认为20
timeOut int
Résultat Senparc.Weixin.MP.AdvancedAPIs.Poi.GetStoreListResultJson

GetPoiListAsync() public static méthode

【异步方法】查询门店列表
public static GetPoiListAsync ( string accessTokenOrAppId, int begin, int limit = 20, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
begin int 开始位置,0 即为从第一条开始查询
limit int 返回数据条数,最大允许50,默认为20
timeOut int
Résultat Task

UpdatePoi() public static méthode

修改门店服务信息
public static UpdatePoi ( string accessTokenOrAppId, UpdateStoreData updateStoreData, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
updateStoreData Senparc.Weixin.MP.AdvancedAPIs.Poi.UpdateStoreData 修改门店服务信息需要Post的数据
timeOut int
Résultat Senparc.Weixin.Entities.WxJsonResult

UpdatePoiAsync() public static méthode

【异步方法】修改门店服务信息
public static UpdatePoiAsync ( string accessTokenOrAppId, UpdateStoreData updateStoreData, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
updateStoreData Senparc.Weixin.MP.AdvancedAPIs.Poi.UpdateStoreData 修改门店服务信息需要Post的数据
timeOut int
Résultat Task

UploadImage() public static méthode

上传图片
public static UploadImage ( string accessTokenOrAppId, string file, int timeOut = Config.TIME_OUT ) : UploadImageResultJson
accessTokenOrAppId string
file string 文件路径
timeOut int
Résultat Senparc.Weixin.MP.AdvancedAPIs.Poi.UploadImageResultJson

UploadImageAsync() public static méthode

【异步方法】上传图片
public static UploadImageAsync ( string accessTokenOrAppId, string file, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
file string 文件路径
timeOut int
Résultat Task