autumndev/checkmend

Checkmend API Laravel 包

v1.0.6 2020-11-19 16:20 UTC

This package is auto-updated.

Last update: 2024-09-20 00:57:18 UTC


README

此包提供了Checkmend尽职调查和制造及型号扩展API调用,用于MobiMarket应用。

安装

将以下内容添加到您的composer.json中

"repositories":[
    {
        "type": "vcs",
        "url" : "https://autumndev@bitbucket.org/autumndevops/checkmend.git"
    }
],
"minimum-stability": "dev"

运行composer update,然后运行compoaser dump

发布配置文件

php artisan vendor:publish --provider=Autumndev\Checkmend\CheckmendServiceProvider

更新位于以下路径的配置文件中的设置:.\config\checkmend.php

#使用方法

$result = Checkmend::dueDiligence($imei);
// send certificate to email or url call back
Checkmend::getCertificate($result->certid, $url, $email);
$result = Checkmend::makeModelExt([$imei]);