mohuishou / auto-sign
There is no license information available for the latest version (0.2.0) of this package.
联通优选在沃自动签到包
0.2.0
2016-11-19 12:23 UTC
Requires
- php: >5.4
- mohuishou/image-ocr: dev-master
- php-curl-class/php-curl-class: ^4.13
This package is auto-updated.
Last update: 2025-01-12 08:49:31 UTC
README
用于联通沃贝相关活动的自动签到
优选在沃自动签到
文件
YxzwSign.php
使用方法
由于优选在沃登录使用了图形验证码,所以这里使用了我的另外一个验证码识别的包,验证码识别需要先建立特征库,详细请点击image-ocr
安装
composer require mohuishou/auto-sign
引入
require_once "vendor/autoload.php"
使用
只有一个主方法,index("优选在沃手机号","优选在沃密码");
try{ $yxzw_sign=new \Mohuishou\Lib\YxzwSign(); $auto_sign=$yxzw_sign->index("优选在沃手机号","优选在沃密码"); }catch (Exception $e){ echo $e->getMessage(); }
返回值
Array
(
[status] => 2
[sign_info] => stdClass Object
(
[1] => stdClass Object
(
[signed] => 1
[makeUp] => 0
[felwareType] => 0
)
……
)
[all_sign] => 9
[wb] => 825
[msg] =>
)
Features
- 沃贝四川自动签到