PHP code example of rongchuang / happiness-through

1. Go to this page and download the library: Download rongchuang/happiness-through library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

rongchuang / happiness-through example snippets



$happinessPullDeal = new HappinessPullDeal([
    'uri' => '',
    'reqsrcsys' => '',
    'reqtarsys' => '',
    'userName' => '',
    'password' => ''
]);
$idCard = '';
$pcode = '';
$happinessPullDeal->getDealImportDatas($idCard,$pcode);
return [[1],[2]];//多个成交数据