parenthesis/dingconnect-api-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

parenthesis/dingconnect-api-php

Composer 安装命令:

composer require parenthesis/dingconnect-api-php

包简介

A PHP Client for the DingConnect Mobile Top-Up API.

README 文档

README

This PHP package was generated using the Swagger Codegen project:

  • API version: V1
  • Build package: io.swagger.codegen.languages.PhpClientCodegen

Requirements

  • PHP 5.5 and later

Installation

Composer

composer require parenthesis/dingconnect-api-php

Usage

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new Parenthesis\DingConnect\Api\V1Api(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$cancellation_requests = array(new \Parenthesis\DingConnect\Model\CancellationRequest()); // \Parenthesis\DingConnect\Model\CancellationRequest[] | An explicit list of records to cancel.

try {
    $result = $apiInstance->cancelTransfers($cancellation_requests);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling V1Api->cancelTransfers: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api.dingconnect.com

Class Method HTTP request Description
V1Api cancelTransfers POST /api/V1/CancelTransfers Attempt to cancel transfers with the submitted TransferIds
V1Api estimatePrices POST /api/V1/EstimatePrices Estimate prices for send or receive values
V1Api getAccountLookup GET /api/V1/GetAccountLookup Get providers and product information for a specific account number
V1Api getBalance GET /api/V1/GetBalance Get the current agent balance
V1Api getCountries GET /api/V1/GetCountries Get a list of supported countries
V1Api getCurrencies GET /api/V1/GetCurrencies Get a list of supported currencies
V1Api getErrorCodeDescriptions GET /api/V1/GetErrorCodeDescriptions Get a list of error code descriptions
V1Api getProductDescriptions GET /api/V1/GetProductDescriptions Get localized strings for products
V1Api getProducts GET /api/V1/GetProducts Get a list of products that can be used in SendTransfer
V1Api getPromotionDescriptions GET /api/V1/GetPromotionDescriptions Get localized strings for promotions
V1Api getPromotions GET /api/V1/GetPromotions Get a list of promotions
V1Api getProviderStatus GET /api/V1/GetProviderStatus Get the current status of product providers
V1Api getProviders GET /api/V1/GetProviders Get a list of product providers available to the agent
V1Api getRegions GET /api/V1/GetRegions Get a list of regions on the system
V1Api listTransferRecords POST /api/V1/ListTransferRecords Query transfers that were submitted to the system
V1Api sendTransfer POST /api/V1/SendTransfer Send a transfer to an account

Documentation For Models

Documentation For Authorization

APIKeyHeader

  • Type: API key
  • API key parameter name: api_key
  • Location: HTTP header

parenthesis/dingconnect-api-php 适用场景与选型建议

parenthesis/dingconnect-api-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 83 次下载、GitHub Stars 达 5, 最近一次更新时间为 2019 年 05 月 31 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「api」 「sdk」 「swagger」 「dingconnect」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 parenthesis/dingconnect-api-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 parenthesis/dingconnect-api-php 我们能提供哪些服务?
定制开发 / 二次开发

基于 parenthesis/dingconnect-api-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 83
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-31