C# Class Senparc.Weixin.MP.AdvancedAPIs.MerChant.ShelfApi

微小店货架接口
ファイルを表示 Open project: JeffreySu/WeiXinMPSDK

Public Methods

Method Description
AddShelves ( string accessToken, M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, string shelfBanner, string shelfName ) : Senparc.Weixin.MP.AdvancedAPIs.MerChant.AddShelfResult

增加货架

AddShelvesAsync ( string accessToken, M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, string shelfBanner, string shelfName ) : Task

【异步方法】增加货架

DeleteShelves ( string accessToken, int shelfId ) : WxJsonResult

删除货架

DeleteShelvesAsync ( string accessToken, int shelfId ) : Task

【异步方法】删除货架

GetAllShelves ( string accessToken ) : Senparc.Weixin.MP.AdvancedAPIs.MerChant.GetAllShelfResult

获取所有货架

GetAllShelvesAsync ( string accessToken ) : Task

【异步方法】获取所有货架

GetByIdShelves ( string accessToken, int shelfId ) : Senparc.Weixin.MP.AdvancedAPIs.MerChant.GetByIdShelfResult

根据货架ID获取货架信息

GetByIdShelvesAsync ( string accessToken, int shelfId ) : Task

【异步方法】根据货架ID获取货架信息

ModShelves ( string accessToken, M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, int shelfId, string shelfBanner, string shelfName ) : WxJsonResult

修改货架

ModShelvesAsync ( string accessToken, M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, int shelfId, string shelfBanner, string shelfName ) : Task

【异步方法】修改货架

Method Details

AddShelves() public static method

增加货架
public static AddShelves ( string accessToken, M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, string shelfBanner, string shelfName ) : Senparc.Weixin.MP.AdvancedAPIs.MerChant.AddShelfResult
accessToken string
m1 M1 控件1数据
m2 M2 控件2数据
m3 M3 控件3数据
m4 M4 控件4数据
m5 M5 控件5数据
shelfBanner string 货架招牌图片Url
shelfName string 货架名称
return Senparc.Weixin.MP.AdvancedAPIs.MerChant.AddShelfResult

AddShelvesAsync() public static method

【异步方法】增加货架
public static AddShelvesAsync ( string accessToken, M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, string shelfBanner, string shelfName ) : Task
accessToken string
m1 M1 控件1数据
m2 M2 控件2数据
m3 M3 控件3数据
m4 M4 控件4数据
m5 M5 控件5数据
shelfBanner string 货架招牌图片Url
shelfName string 货架名称
return Task

DeleteShelves() public static method

删除货架
public static DeleteShelves ( string accessToken, int shelfId ) : WxJsonResult
accessToken string
shelfId int 货架Id
return Senparc.Weixin.Entities.WxJsonResult

DeleteShelvesAsync() public static method

【异步方法】删除货架
public static DeleteShelvesAsync ( string accessToken, int shelfId ) : Task
accessToken string
shelfId int 货架Id
return Task

GetAllShelves() public static method

获取所有货架
public static GetAllShelves ( string accessToken ) : Senparc.Weixin.MP.AdvancedAPIs.MerChant.GetAllShelfResult
accessToken string
return Senparc.Weixin.MP.AdvancedAPIs.MerChant.GetAllShelfResult

GetAllShelvesAsync() public static method

【异步方法】获取所有货架
public static GetAllShelvesAsync ( string accessToken ) : Task
accessToken string
return Task

GetByIdShelves() public static method

根据货架ID获取货架信息
public static GetByIdShelves ( string accessToken, int shelfId ) : Senparc.Weixin.MP.AdvancedAPIs.MerChant.GetByIdShelfResult
accessToken string
shelfId int 货架Id
return Senparc.Weixin.MP.AdvancedAPIs.MerChant.GetByIdShelfResult

GetByIdShelvesAsync() public static method

【异步方法】根据货架ID获取货架信息
public static GetByIdShelvesAsync ( string accessToken, int shelfId ) : Task
accessToken string
shelfId int 货架Id
return Task

ModShelves() public static method

修改货架
public static ModShelves ( string accessToken, M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, int shelfId, string shelfBanner, string shelfName ) : WxJsonResult
accessToken string
m1 M1 控件1数据
m2 M2 控件2数据
m3 M3 控件3数据
m4 M4 控件4数据
m5 M5 控件5数据
shelfId int 货架Id
shelfBanner string 货架招牌图片Url
shelfName string 货架名称
return Senparc.Weixin.Entities.WxJsonResult

ModShelvesAsync() public static method

【异步方法】修改货架
public static ModShelvesAsync ( string accessToken, M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, int shelfId, string shelfBanner, string shelfName ) : Task
accessToken string
m1 M1 控件1数据
m2 M2 控件2数据
m3 M3 控件3数据
m4 M4 控件4数据
m5 M5 控件5数据
shelfId int 货架Id
shelfBanner string 货架招牌图片Url
shelfName string 货架名称
return Task