add clear

This commit is contained in:
as2252258@163.com
2020-03-05 12:41:49 +08:00
parent 0a16cc14e4
commit 291e882069
47 changed files with 104 additions and 107 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<?php
use common\Config;
use common\Progaram;
use wchat\common\Config;
use wchat\common\Progaram;
/**
* Class Container
+1 -4
View File
@@ -13,10 +13,7 @@
],
"autoload": {
"psr-4": {
"wchat\\": "wx",
"qq\\": "qq",
"common\\": "common",
"officialaccount\\": "officialaccount"
"wchat\\": "wchat"
},
"files": [
"Container.php"
-12
View File
@@ -1,12 +0,0 @@
<?php
namespace officialaccount;
use common\HttpClient;
class AccessToken extends AfficialAccount
{
}
@@ -1,7 +1,7 @@
<?php
namespace common;
namespace wchat\common;
class Config
@@ -1,7 +1,7 @@
<?php
namespace common;
namespace wchat\common;
class Decode
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
namespace common;
namespace wchat\common;
class Help extends Miniprogarampage
@@ -1,6 +1,6 @@
<?php
namespace common;
namespace wchat\common;
use Swoole\Coroutine\Http\Client as SClient;
use Swoole\Coroutine\System;
@@ -6,9 +6,9 @@
* Time: 10:23
*/
namespace common;
namespace wchat\common;
use common\Config;
use wchat\common\Config;
abstract class Miniprogarampage implements Progaram
{
@@ -1,7 +1,7 @@
<?php
namespace common;
namespace wchat\common;
interface Progaram
@@ -1,6 +1,6 @@
<?php
namespace common;
namespace wchat\common;
/**
* Class Result
+12
View File
@@ -0,0 +1,12 @@
<?php
namespace wchat\officialaccount;
use wchat\common\HttpClient;
class AccessToken extends AfficialAccount
{
}
@@ -1,11 +1,11 @@
<?php
namespace officialaccount;
namespace wchat\officialaccount;
use common\HttpClient;
use common\Miniprogarampage;
use wchat\common\HttpClient;
use wchat\common\Miniprogarampage;
abstract class AfficialAccount extends Miniprogarampage
{
@@ -1,12 +1,12 @@
<?php
namespace officialaccount;
namespace wchat\officialaccount;
use officialaccount\dcaler\SnsInfo;
use common\HttpClient;
use officialaccount\dcaler\Authorization as DAuth;
use wchat\officialaccount\dcaler\SnsInfo;
use wchat\common\HttpClient;
use wchat\officialaccount\dcaler\Authorization as DAuth;
class Authorization extends AfficialAccount
{
@@ -1,11 +1,11 @@
<?php
namespace officialaccount;
namespace wchat\officialaccount;
use officialaccount\dcaler\Prpcrypt;
use officialaccount\dcaler\XMLParse;
use wchat\officialaccount\dcaler\Prpcrypt;
use wchat\officialaccount\dcaler\XMLParse;
class NewsManager extends AfficialAccount
{
@@ -1,10 +1,10 @@
<?php
namespace officialaccount;
namespace wchat\officialaccount;
use common\HttpClient;
use common\Result;
use wchat\common\HttpClient;
use wchat\common\Result;
class QrCode extends AfficialAccount
{
@@ -1,11 +1,11 @@
<?php
namespace officialaccount;
namespace wchat\officialaccount;
use common\HttpClient;
use common\Result;
use wchat\common\HttpClient;
use wchat\common\Result;
class SourceMaterial extends AfficialAccount
{
@@ -1,10 +1,10 @@
<?php
namespace officialaccount;
namespace wchat\officialaccount;
use common\HttpClient;
use wchat\common\HttpClient;
class Subscribe extends AfficialAccount
{
@@ -1,7 +1,7 @@
<?php
namespace officialaccount;
namespace wchat\officialaccount;
class Tag extends AfficialAccount
@@ -1,10 +1,10 @@
<?php
namespace officialaccount;
namespace wchat\officialaccount;
use common\Config;
use wchat\common\Config;
class WxSDK
{
@@ -1,6 +1,6 @@
<?php
namespace officialaccount\dcaler;
namespace wchat\officialaccount\dcaler;
class Authorization
@@ -1,7 +1,7 @@
<?php
namespace officialaccount\dcaler;
namespace wchat\officialaccount\dcaler;
class PKCS7Encoder
@@ -1,10 +1,10 @@
<?php
namespace officialaccount\dcaler;
namespace wchat\officialaccount\dcaler;
use officialaccount\NewsManager;
use wchat\officialaccount\NewsManager;
class Prpcrypt
{
@@ -1,7 +1,7 @@
<?php
namespace officialaccount\dcaler;
namespace wchat\officialaccount\dcaler;
class SnsInfo
@@ -1,10 +1,10 @@
<?php
namespace officialaccount\dcaler;
namespace wchat\officialaccount\dcaler;
use officialaccount\NewsManager;
use wchat\officialaccount\NewsManager;
class XMLParse
{
+4 -4
View File
@@ -6,11 +6,11 @@
* Time: 16:12
*/
namespace qq;
namespace wchat\qq;
use common\Decode;
use common\HttpClient;
use common\Result;
use wchat\common\Decode;
use wchat\common\HttpClient;
use wchat\common\Result;
class Account extends SmallProgram
{
@@ -1,7 +1,7 @@
<?php
namespace qq;
namespace wchat\qq;
class GamePrePay extends SmallProgram
+2 -2
View File
@@ -1,9 +1,9 @@
<?php
namespace qq;
namespace wchat\qq;
use common\Help;
use wchat\common\Help;
class Notify extends SmallProgram
{
+4 -4
View File
@@ -1,11 +1,11 @@
<?php
namespace qq;
namespace wchat\qq;
use common\HttpClient;
use common\Result;
use wchat\common\HttpClient;
use wchat\common\Result;
class QrCode extends SmallProgram
{
@@ -15,7 +15,7 @@ class QrCode extends SmallProgram
private $getwxacode = 'https://api.weixin.qq.com/wxa/getwxacode?access_token=';
private $getwxacodeunlimit = 'https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=';
private $savePath = __DIR__ . '/../../../';
private $savePath = __DIR__ . '/../../Users/';
/**
* @param $path
+4 -4
View File
@@ -6,11 +6,11 @@
* Time: 10:22
*/
namespace qq;
namespace wchat\qq;
use common\HttpClient;
use common\Result;
use common\Help;
use wchat\common\HttpClient;
use wchat\common\Result;
use wchat\common\Help;
class Recharge extends SmallProgram
{
+3 -3
View File
@@ -1,10 +1,10 @@
<?php
namespace qq;
namespace wchat\qq;
use common\Help;
use common\Result;
use wchat\common\Help;
use wchat\common\Result;
use qq\result\RedHatResult;
class Redhat extends SmallProgram
+2 -2
View File
@@ -1,10 +1,10 @@
<?php
namespace qq;
namespace wchat\qq;
use common\Result;
use wchat\common\Result;
/**
* Class SecCheck
@@ -1,10 +1,10 @@
<?php
namespace qq;
namespace wchat\qq;
use common\Miniprogarampage;
use wchat\common\Miniprogarampage;
class SmallProgram extends Miniprogarampage
{
+2 -2
View File
@@ -1,10 +1,10 @@
<?php
namespace qq;
namespace wchat\qq;
use common\Result;
use wchat\common\Result;
class Subject extends SmallProgram
{
+2 -2
View File
@@ -6,10 +6,10 @@
* Time: 9:49
*/
namespace qq;
namespace wchat\qq;
use common\Result;
use wchat\common\Result;
class Template extends SmallProgram
{
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
namespace qq;
namespace wchat\qq;
@@ -1,7 +1,7 @@
<?php
namespace qq\result;
namespace wchat\qq\result;
/**
* Class RedHatResult
+5 -5
View File
@@ -6,11 +6,11 @@
* Time: 16:12
*/
namespace wchat;
namespace wchat\wx;
use common\Decode;
use common\HttpClient;
use common\Result;
use wchat\common\Decode;
use wchat\common\HttpClient;
use wchat\common\Result;
class Account extends SmallProgram
{
@@ -20,7 +20,7 @@ class Account extends SmallProgram
private $publicInfo = 'https://api.weixin.qq.com/cgi-bin/user/info?';
private $getwxacodeunlimit = 'https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=';
private $savePath = __DIR__ . '/../../../';
private $savePath = __DIR__ . '/../../Users/';
private $OK = 0;
@@ -1,7 +1,7 @@
<?php
namespace wchat;
namespace wchat\wx;
/**
+3 -3
View File
@@ -1,10 +1,10 @@
<?php
namespace wchat;
namespace wchat\wx;
use common\HttpClient;
use common\Result;
use wchat\common\HttpClient;
use wchat\common\Result;
class Message extends SmallProgram
{
const TEXT = 0;
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
namespace wchat;
namespace wchat\wx;
class Notify extends SmallProgram
@@ -6,9 +6,9 @@
* Time: 9:49
*/
namespace wchat;
namespace wchat\wx;
use common\Result;
use wchat\common\Result;
class PublicTemplate extends SmallProgram
{
+4 -4
View File
@@ -6,11 +6,11 @@
* Time: 10:22
*/
namespace wchat;
namespace wchat\wx;
use common\HttpClient;
use common\Result;
use common\Help;
use wchat\common\HttpClient;
use wchat\common\Result;
use wchat\common\Help;
class Recharge extends SmallProgram
{
+2 -2
View File
@@ -1,10 +1,10 @@
<?php
namespace wchat;
namespace wchat\wx;
use common\Result;
use wchat\common\Result;
/**
* Class SecCheck
@@ -1,10 +1,10 @@
<?php
namespace wchat;
namespace wchat\wx;
use common\Miniprogarampage;
use wchat\common\Miniprogarampage;
class SmallProgram extends Miniprogarampage
{
+2 -2
View File
@@ -1,10 +1,10 @@
<?php
namespace wchat;
namespace wchat\wx;
use common\Result;
use wchat\common\Result;
class Subject extends SmallProgram
{
+2 -2
View File
@@ -6,9 +6,9 @@
* Time: 9:49
*/
namespace wchat;
namespace wchat\wx;
use common\Result;
use wchat\common\Result;
class Template extends SmallProgram
{
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
namespace wchat;
namespace wchat\wx;
class Token extends SmallProgram