C# Class WareDealer.JDKiller

京东商城助手
欢迎加入QQ群415014949一起讨论
Afficher le fichier Open project: hanksoft/KillJD Class Usage Examples

Méthodes publiques

Свойство Type Description
EndProcess Action
InitProcess Action
ShowMessage Action
ShowStep Action

Méthodes publiques

Méthode Description
GetInstance ( ) : JDKiller
GetWareTypeData ( string category, string myType ) : void

获取京东商品分类数据

GetWatchList ( ) : List

获取关注数据

InitLogin ( string uName, string uPass ) : void

初始化登录接口

Login4JD ( string myAuthCode ) : bool

登录京东

ParseWareTypeData ( string html, string myType ) : void

获取分类下所有商品详细数据

ReGetAuthCode ( ) : void

重取验证码图片

Private Methods

Méthode Description
CheckAuthcode ( ) : bool

是否要验证码

EndGetProcess ( bool bRtn ) : void
GetCodeImg ( ) : void

获取验证码图片

GetJDWebHtml ( string website ) : string

获取京东页面数据

GetLoginUI ( ) : void

获取登录界面数据

GetWactchs ( ) : List

获取所有关注数据

GetWareInfoByWatch ( string watchhtml ) : List
GetWatchWareList ( string watchhtml ) : List

获取关注列表数据

InitGetProcess ( int iLen ) : void
Login ( string authcode ) : bool

登录京东商城

Logout ( ) : void

退出京东

ParseLoginParams ( ) : void
ShowGetMessage ( string msg ) : void

显示获取数据

ShowGetStep ( int iStep ) : void

Method Details

GetInstance() public static méthode

public static GetInstance ( ) : JDKiller
Résultat JDKiller

GetWareTypeData() public méthode

获取京东商品分类数据
public GetWareTypeData ( string category, string myType ) : void
category string
myType string
Résultat void

GetWatchList() public méthode

获取关注数据
public GetWatchList ( ) : List
Résultat List

InitLogin() public méthode

初始化登录接口
public InitLogin ( string uName, string uPass ) : void
uName string
uPass string
Résultat void

Login4JD() public méthode

登录京东
public Login4JD ( string myAuthCode ) : bool
myAuthCode string
Résultat bool

ParseWareTypeData() public méthode

获取分类下所有商品详细数据
public ParseWareTypeData ( string html, string myType ) : void
html string
myType string
Résultat void

ReGetAuthCode() public méthode

重取验证码图片
public ReGetAuthCode ( ) : void
Résultat void

Property Details

EndProcess public_oe property

获取关注完成
public Action EndProcess
Résultat Action

InitProcess public_oe property

初始化进度条
public Action InitProcess
Résultat Action

ShowMessage public_oe property

显示消息
public Action ShowMessage
Résultat Action

ShowStep public_oe property

操作进度条
public Action ShowStep
Résultat Action