Documentation ¶
Index ¶
Constants ¶
View Source
const ( BaseUri = "http://upload.chaojiying.net/Upload/" OcrAPI = BaseUri + "Processing.php" QueryAPI = BaseUri + "GetScore.php" ReportErrorAPI = BaseUri + "ReportError.php" UserRegAPI = BaseUri + "UserReg.php" UserPayAPI = BaseUri + "UserPay.php" //4位纯数字 NumCodeType4 = 4004 //4位英文+数字;速度快 MixCodeType4 = 1902 )
Variables ¶
View Source
var ( //全局只有一个识别实例 NormalOcr = &OcrObj{ User: "woniu123", Pass2: utils.Md5([]byte("ABC154948abc")), SoftID: 897319, CodeType: NumCodeType4, } )
Functions ¶
This section is empty.
Types ¶
type OcrInterface ¶
Click to show internal directories.
Click to hide internal directories.