commit
ef5c0f4c1e
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
define('INSTALL_DATE',1544490490);
|
||||
define('SERIALNUMBER','20181211090810PHUvlq');
|
@ -0,0 +1 @@
|
||||
|
@ -0,0 +1 @@
|
||||
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
ini_set("display_errors", "on");
|
||||
|
||||
require_once dirname(__DIR__) . '/api_sdk/vendor/autoload.php';
|
||||
|
||||
use Aliyun\Core\Config;
|
||||
use Aliyun\Core\Profile\DefaultProfile;
|
||||
use Aliyun\Core\DefaultAcsClient;
|
||||
use Aliyun\Api\Sms\Request\V20170525\SendSmsRequest;
|
||||
use Aliyun\Api\Sms\Request\V20170525\SendBatchSmsRequest;
|
||||
use Aliyun\Api\Sms\Request\V20170525\QuerySendDetailsRequest;
|
||||
|
||||
// 加载区域结点配置
|
||||
Config::load();
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "aliyuncs/aliyun-dysms-php-sdk",
|
||||
"description": "Aliyun SMS SDK for PHP",
|
||||
"keywords": [ "aliyun", "SMS", "sdk" ],
|
||||
"type": "library",
|
||||
"license": "Apache-2.0",
|
||||
"homepage": "https://www.aliyun.com/product/sms",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Aliyuncs",
|
||||
"homepage": "https://www.aliyun.com"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.5.0"
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Aliyun\Api\Sms\Request\V20170525;
|
||||
|
||||
use Aliyun\Core\RpcAcsRequest;
|
||||
|
||||
class QuerySendDetailsRequest extends RpcAcsRequest
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct("Dysmsapi", "2017-05-25", "QuerySendDetails");
|
||||
$this->setMethod("POST");
|
||||
}
|
||||
|
||||
private $sendDate;
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Aliyun\Api\Sms\Request\V20170525;
|
||||
|
||||
use Aliyun\Core\RpcAcsRequest;
|
||||
|
||||
class SendSmsRequest extends RpcAcsRequest
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct("Dysmsapi", "2017-05-25", "SendSms");
|
||||
$this->setMethod("POST");
|
||||
}
|
||||
|
||||
private $templateCode;
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Aliyun\Core;
|
||||
|
||||
abstract class AcsRequest
|
||||
{
|
||||
protected $version;
|
||||
protected $product;
|
||||
protected $actionName;
|
||||
protected $regionId;
|
||||
protected $acceptFormat;
|
||||
protected $method;
|
||||
protected $protocolType = "http";
|
||||
protected $content;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue