Skip to content

timtoday/think-ocpcclient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThinkPHP OCPC 客户端

一个简单的 ThinkPHP OCPC 客户端

安装

composer require axguowen/think-ocpcclient

使用

首先配置config目录下的ocpcclient.php配置文件。

$ocpcClient = \think\facade\OcpcClient::platform('vivo', [
    'callback' => 'aa.dlgjlxs.com',
    'action_type' => 'CONFIRM_EFFECTIVE_LEADS',
    'click_id' => '8c97b615092c186e',
    'action_time' => '1685774968',
]);
// 获取回传结果并打印
$convert = $ocpcClient->convertGenerally();
var_dump($convert);

About

Simple OCPC Client For ThinkPHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%