mark 2 жил өмнө
parent
commit
c957423eab
48 өөрчлөгдсөн 110 нэмэгдсэн , 110 устгасан
  1. 4 4
      src/BaseAuth/AdminAuth.php
  2. 2 2
      src/Bean/BaseAuth/AddUserParamBean.php
  3. 1 1
      src/Bean/BaseBean.php
  4. 1 1
      src/Bean/BaseBeanV1.php
  5. 2 2
      src/Bean/Crm/TaobaoBatchSendParamBean.php
  6. 2 2
      src/Bean/ElasticSearch/CreateLogDocParamBean.php
  7. 2 2
      src/Bean/ElasticSearch/GetLogDocParamBean.php
  8. 2 2
      src/Bean/Pay/GetCodePayUrlParamBean.php
  9. 2 2
      src/Bean/Pdd/Ddk/GoodsDetailParamBean.php
  10. 2 2
      src/Bean/Pdd/Ddk/GoodsPromotionUrlGenerateParamBean.php
  11. 2 2
      src/Bean/Pdd/Ddk/GoodsRecommendGetParamBean.php
  12. 2 2
      src/Bean/Pdd/Ddk/GoodsSearchParamBean.php
  13. 2 2
      src/Bean/Pdd/Ddk/OrderListRangeGetParamBean.php
  14. 2 2
      src/Bean/Pdd/Ddk/PidStatusEnum.php
  15. 2 2
      src/Bean/Pdd/Ddk/ResourceUrlGenParamBean.php
  16. 2 2
      src/Bean/Qr/CreateQrLogoImgServiceParamBean.php
  17. 2 2
      src/Bean/SendEmail/SendEmailByCustomeParamBean.php
  18. 4 4
      src/Crm/Crm.php
  19. 3 3
      src/CrmTool.php
  20. 3 3
      src/ElasticSearch/ElasticSerach.php
  21. 2 2
      src/Enum/Pdd/Ddk/DdkResourceTypeEnum.php
  22. 5 5
      src/EsTool.php
  23. 1 1
      src/Excel/Export.php
  24. 3 3
      src/ExcelTool.php
  25. 1 1
      src/Exception/AuthException.php
  26. 1 1
      src/Exception/CrmException.php
  27. 1 1
      src/Exception/ElasticSearchException.php
  28. 1 1
      src/Exception/FileException.php
  29. 1 1
      src/Exception/HttpCustomeException.php
  30. 1 1
      src/Exception/PayException.php
  31. 1 1
      src/Exception/QiWeiException.php
  32. 1 1
      src/Exception/SendEmailException.php
  33. 1 1
      src/Exception/SmsException.php
  34. 2 2
      src/HttpCurl.php
  35. 2 2
      src/Mq/MqService.php
  36. 2 2
      src/MqTool.php
  37. 5 5
      src/Pay/PayService.php
  38. 4 4
      src/PayTool.php
  39. 8 8
      src/Pdd/Ddk/DdkDaogouService.php
  40. 3 3
      src/QiWeiTool.php
  41. 3 3
      src/Qr/QrService.php
  42. 3 3
      src/QrTool.php
  43. 3 3
      src/SendEmail.php
  44. 2 2
      src/Sms/QidianyunSms.php
  45. 2 2
      src/Sms/SanTiSms.php
  46. 4 4
      src/SmsTool.php
  47. 2 2
      src/UploadTool.php
  48. 1 1
      src/template/Ceshi.php

+ 4 - 4
src/BaseAuth/AdminAuth.php

@@ -1,12 +1,12 @@
 <?php
 
 
-namespace Tool\MayouTool\BaseAuth;
+namespace Tool\BaseAuth;
 
 
-use Tool\MayouTool\Bean\BaseAuth\AddUserParamBean;
-use Tool\MayouTool\Exception\AuthException;
-use Tool\MayouTool\HttpCurl;
+use Tool\Bean\BaseAuth\AddUserParamBean;
+use Tool\Exception\AuthException;
+use Tool\HttpCurl;
 
 class AdminAuth
 {

+ 2 - 2
src/Bean/BaseAuth/AddUserParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\BaseAuth;
+namespace Tool\Bean\BaseAuth;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class AddUserParamBean extends BaseBean
 {

+ 1 - 1
src/Bean/BaseBean.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean;
+namespace Tool\Bean;
 
 
 

+ 1 - 1
src/Bean/BaseBeanV1.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean;
+namespace Tool\Bean;
 
 
 

+ 2 - 2
src/Bean/Crm/TaobaoBatchSendParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Crm;
+namespace Tool\Bean\Crm;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class TaobaoBatchSendParamBean extends BaseBean
 {

+ 2 - 2
src/Bean/ElasticSearch/CreateLogDocParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\ElasticSearch;
+namespace Tool\Bean\ElasticSearch;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class CreateLogDocParamBean extends BaseBean
 {

+ 2 - 2
src/Bean/ElasticSearch/GetLogDocParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\ElasticSearch;
+namespace Tool\Bean\ElasticSearch;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class GetLogDocParamBean extends BaseBean
 {

+ 2 - 2
src/Bean/Pay/GetCodePayUrlParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Pay;
+namespace Tool\Bean\Pay;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class GetCodePayUrlParamBean extends BaseBean
 {

+ 2 - 2
src/Bean/Pdd/Ddk/GoodsDetailParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Pdd\Ddk;
+namespace Tool\Bean\Pdd\Ddk;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class GoodsDetailParamBean extends BaseBean
 {

+ 2 - 2
src/Bean/Pdd/Ddk/GoodsPromotionUrlGenerateParamBean.php

@@ -1,11 +1,11 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Pdd\Ddk;
+namespace Tool\Bean\Pdd\Ddk;
 
 
 
-use Tool\MayouTool\Bean\BaseBeanV1;
+use Tool\Bean\BaseBeanV1;
 
 class GoodsPromotionUrlGenerateParamBean extends BaseBeanV1
 {

+ 2 - 2
src/Bean/Pdd/Ddk/GoodsRecommendGetParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Pdd\Ddk;
+namespace Tool\Bean\Pdd\Ddk;
 
 
-use Tool\MayouTool\Bean\BaseBeanV1;
+use Tool\Bean\BaseBeanV1;
 
 class GoodsRecommendGetParamBean extends BaseBeanV1
 {

+ 2 - 2
src/Bean/Pdd/Ddk/GoodsSearchParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Pdd\Ddk;
+namespace Tool\Bean\Pdd\Ddk;
 
 
-use Tool\MayouTool\Bean\BaseBeanV1;
+use Tool\Bean\BaseBeanV1;
 
 class GoodsSearchParamBean extends BaseBeanV1
 {

+ 2 - 2
src/Bean/Pdd/Ddk/OrderListRangeGetParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Pdd\Ddk;
+namespace Tool\Bean\Pdd\Ddk;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class OrderListRangeGetParamBean extends BaseBean
 {

+ 2 - 2
src/Bean/Pdd/Ddk/PidStatusEnum.php

@@ -1,13 +1,13 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Pdd\Ddk;
+namespace Tool\Bean\Pdd\Ddk;
 
 
 /**
  * 推广位状态枚举类
  * Class PidStatusEnum
- * @package Tool\MayouTool\Bean\Pdd\Ddk
+ * @package Tool\Bean\Pdd\Ddk
  */
 class PidStatusEnum
 {

+ 2 - 2
src/Bean/Pdd/Ddk/ResourceUrlGenParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Pdd\Ddk;
+namespace Tool\Bean\Pdd\Ddk;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class ResourceUrlGenParamBean extends BaseBean
 {

+ 2 - 2
src/Bean/Qr/CreateQrLogoImgServiceParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\Qr;
+namespace Tool\Bean\Qr;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class CreateQrLogoImgServiceParamBean extends BaseBean
 {

+ 2 - 2
src/Bean/SendEmail/SendEmailByCustomeParamBean.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Bean\SendEmail;
+namespace Tool\Bean\SendEmail;
 
 
-use Tool\MayouTool\Bean\BaseBean;
+use Tool\Bean\BaseBean;
 
 class SendEmailByCustomeParamBean extends BaseBean
 {

+ 4 - 4
src/Crm/Crm.php

@@ -1,12 +1,12 @@
 <?php
 
 
-namespace Tool\MayouTool\Crm;
+namespace Tool\Crm;
 
 
-use Tool\MayouTool\Bean\Crm\TaobaoBatchSendParamBean;
-use Tool\MayouTool\Exception\CrmException;
-use Tool\MayouTool\HttpCurl;
+use Tool\Bean\Crm\TaobaoBatchSendParamBean;
+use Tool\Exception\CrmException;
+use Tool\HttpCurl;
 
 class Crm
 {

+ 3 - 3
src/CrmTool.php

@@ -1,11 +1,11 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
 
-use Tool\MayouTool\Bean\Crm\TaobaoBatchSendParamBean;
-use Tool\MayouTool\Crm\Crm;
+use Tool\Bean\Crm\TaobaoBatchSendParamBean;
+use Tool\Crm\Crm;
 
 class CrmTool
 {

+ 3 - 3
src/ElasticSearch/ElasticSerach.php

@@ -1,12 +1,12 @@
 <?php
 
 
-namespace Tool\MayouTool\ElasticSearch;
+namespace Tool\ElasticSearch;
 
 use function Complex\sec;
 use Elasticsearch\ClientBuilder;
-use Tool\MayouTool\Bean\ElasticSearch\GetLogDocParamBean;
-use Tool\MayouTool\Exception\ElasticSearchException;
+use Tool\Bean\ElasticSearch\GetLogDocParamBean;
+use Tool\Exception\ElasticSearchException;
 
 /**
  * es操作类

+ 2 - 2
src/Enum/Pdd/Ddk/DdkResourceTypeEnum.php

@@ -1,13 +1,13 @@
 <?php
 
 
-namespace Tool\MayouTool\Enum\Pdd\Ddk;
+namespace Tool\Enum\Pdd\Ddk;
 
 
 /**
  * 多多客频道来源枚举类
  * Class DdkResourceTypeEnum
- * @package Tool\MayouTool\Enum\Pdd\Ddk
+ * @package Tool\Enum\Pdd\Ddk
  */
 class DdkResourceTypeEnum
 {

+ 5 - 5
src/EsTool.php

@@ -1,13 +1,13 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
 
-use Tool\MayouTool\Bean\ElasticSearch\CreateLogDocParamBean;
-use Tool\MayouTool\Bean\ElasticSearch\GetLogDocParamBean;
-use Tool\MayouTool\ElasticSearch\ElasticSerach;
-use Tool\MayouTool\Exception\ElasticSearchException;
+use Tool\Bean\ElasticSearch\CreateLogDocParamBean;
+use Tool\Bean\ElasticSearch\GetLogDocParamBean;
+use Tool\ElasticSearch\ElasticSerach;
+use Tool\Exception\ElasticSearchException;
 
 class EsTool
 {

+ 1 - 1
src/Excel/Export.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Excel;
+namespace Tool\Excel;
 
 
 use PhpOffice\PhpSpreadsheet\IOFactory;

+ 3 - 3
src/ExcelTool.php

@@ -1,11 +1,11 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
 
-use Tool\MayouTool\Excel\Export;
-use Tool\MayouTool\Exception\FileException;
+use Tool\Excel\Export;
+use Tool\Exception\FileException;
 
 class ExcelTool
 {

+ 1 - 1
src/Exception/AuthException.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Exception;
+namespace Tool\Exception;
 
 
 class AuthException extends \Exception

+ 1 - 1
src/Exception/CrmException.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Exception;
+namespace Tool\Exception;
 
 
 class CrmException extends \Exception

+ 1 - 1
src/Exception/ElasticSearchException.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Exception;
+namespace Tool\Exception;
 
 
 class ElasticSearchException extends \Exception

+ 1 - 1
src/Exception/FileException.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Exception;
+namespace Tool\Exception;
 
 
 class FileException extends \Exception

+ 1 - 1
src/Exception/HttpCustomeException.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Exception;
+namespace Tool\Exception;
 
 
 class HttpCustomeException extends \Exception

+ 1 - 1
src/Exception/PayException.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Exception;
+namespace Tool\Exception;
 
 
 class PayException extends \Exception

+ 1 - 1
src/Exception/QiWeiException.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Exception;
+namespace Tool\Exception;
 
 
 class QiWeiException extends \Exception

+ 1 - 1
src/Exception/SendEmailException.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Exception;
+namespace Tool\Exception;
 
 
 class SendEmailException extends \Exception

+ 1 - 1
src/Exception/SmsException.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Exception;
+namespace Tool\Exception;
 
 
 class SmsException extends \Exception

+ 2 - 2
src/HttpCurl.php

@@ -1,11 +1,11 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
 
 use Curl\Curl;
-use Tool\MayouTool\Exception\HttpCustomeException;
+use Tool\Exception\HttpCustomeException;
 
 class HttpCurl
 {

+ 2 - 2
src/Mq/MqService.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\Mq;
+namespace Tool\Mq;
 
 use PhpAmqpLib\Connection\AMQPStreamConnection;
 use PhpAmqpLib\Message\AMQPMessage;
@@ -9,7 +9,7 @@ use PhpAmqpLib\Message\AMQPMessage;
 /**
  * mq服务
  * Class MqService
- * @package Tool\MayouTool\Mq
+ * @package Tool\Mq
  */
 class MqService
 {

+ 2 - 2
src/MqTool.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
 
-use Tool\MayouTool\Mq\MqService;
+use Tool\Mq\MqService;
 
 class MqTool
 {

+ 5 - 5
src/Pay/PayService.php

@@ -1,16 +1,16 @@
 <?php
 
 
-namespace Tool\MayouTool\Pay;
+namespace Tool\Pay;
 
-use Tool\MayouTool\Bean\Pay\GetCodePayUrlParamBean;
-use Tool\MayouTool\Exception\PayException;
-use Tool\MayouTool\HttpCurl;
+use Tool\Bean\Pay\GetCodePayUrlParamBean;
+use Tool\Exception\PayException;
+use Tool\HttpCurl;
 
 /**
  * 支付服务类
  * Class PayService
- * @package Tool\MayouTool\Pay
+ * @package Tool\Pay
  */
 class PayService
 {

+ 4 - 4
src/PayTool.php

@@ -1,11 +1,11 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
-use Tool\MayouTool\Bean\Pay\GetCodePayUrlParamBean;
-use Tool\MayouTool\Exception\PayException;
-use Tool\MayouTool\Pay\PayService;
+use Tool\Bean\Pay\GetCodePayUrlParamBean;
+use Tool\Exception\PayException;
+use Tool\Pay\PayService;
 
 /**
  * 支付工具类

+ 8 - 8
src/Pdd/Ddk/DdkDaogouService.php

@@ -1,16 +1,16 @@
 <?php
 
 
-namespace Tool\MayouTool\Pdd\Ddk;
+namespace Tool\Pdd\Ddk;
 
 
-use Tool\MayouTool\Bean\Pdd\Ddk\GoodsDetailParamBean;
-use Tool\MayouTool\Bean\Pdd\Ddk\GoodsPromotionUrlGenerateParamBean;
-use Tool\MayouTool\Bean\Pdd\Ddk\GoodsRecommendGetParamBean;
-use Tool\MayouTool\Bean\Pdd\Ddk\GoodsSearchParamBean;
-use Tool\MayouTool\Bean\Pdd\Ddk\OrderListRangeGetParamBean;
-use Tool\MayouTool\Bean\Pdd\Ddk\ResourceUrlGenParamBean;
-use Tool\MayouTool\HttpCurl;
+use Tool\Bean\Pdd\Ddk\GoodsDetailParamBean;
+use Tool\Bean\Pdd\Ddk\GoodsPromotionUrlGenerateParamBean;
+use Tool\Bean\Pdd\Ddk\GoodsRecommendGetParamBean;
+use Tool\Bean\Pdd\Ddk\GoodsSearchParamBean;
+use Tool\Bean\Pdd\Ddk\OrderListRangeGetParamBean;
+use Tool\Bean\Pdd\Ddk\ResourceUrlGenParamBean;
+use Tool\HttpCurl;
 
 /**
  * 多多客导购服务类

+ 3 - 3
src/QiWeiTool.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
-use Tool\MayouTool\Exception\HttpCustomeException;
-use Tool\MayouTool\Exception\QiWeiException;
+use Tool\Exception\HttpCustomeException;
+use Tool\Exception\QiWeiException;
 
 /**
  * 企业微信工具

+ 3 - 3
src/Qr/QrService.php

@@ -1,17 +1,17 @@
 <?php
 
 
-namespace Tool\MayouTool\Qr;
+namespace Tool\Qr;
 
 use lrq\qrcode\QrcodeMain;
 use tekintian\TekinQR;
-use Tool\MayouTool\Bean\Qr\CreateQrLogoImgServiceParamBean;
+use Tool\Bean\Qr\CreateQrLogoImgServiceParamBean;
 use Zxing\QrReader;
 
 /**
  * 二维码服务类
  * Class QrService
- * @package Tool\MayouTool\Qr
+ * @package Tool\Qr
  */
 class QrService
 {

+ 3 - 3
src/QrTool.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
-use Tool\MayouTool\Bean\Qr\CreateQrLogoImgServiceParamBean;
-use Tool\MayouTool\Qr\QrService;
+use Tool\Bean\Qr\CreateQrLogoImgServiceParamBean;
+use Tool\Qr\QrService;
 
 /**
  * 二维码类

+ 3 - 3
src/SendEmail.php

@@ -1,13 +1,13 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
 
 use PHPMailer\PHPMailer\PHPMailer;
 use PHPMailer\PHPMailer\SMTP;
-use Tool\MayouTool\Bean\SendEmail\SendEmailByCustomeParamBean;
-use Tool\MayouTool\Exception\SendEmailException;
+use Tool\Bean\SendEmail\SendEmailByCustomeParamBean;
+use Tool\Exception\SendEmailException;
 
 class SendEmail
 {

+ 2 - 2
src/Sms/QidianyunSms.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Sms;
+namespace Tool\Sms;
 
 
-use Tool\MayouTool\HttpCurl;
+use Tool\HttpCurl;
 
 class QidianyunSms
 {

+ 2 - 2
src/Sms/SanTiSms.php

@@ -1,10 +1,10 @@
 <?php
 
 
-namespace Tool\MayouTool\Sms;
+namespace Tool\Sms;
 
 
-use Tool\MayouTool\HttpCurl;
+use Tool\HttpCurl;
 
 class SanTiSms
 {

+ 4 - 4
src/SmsTool.php

@@ -1,12 +1,12 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
 
-use Tool\MayouTool\Exception\SmsException;
-use Tool\MayouTool\Sms\QidianyunSms;
-use Tool\MayouTool\Sms\SanTiSms;
+use Tool\Exception\SmsException;
+use Tool\Sms\QidianyunSms;
+use Tool\Sms\SanTiSms;
 
 class SmsTool
 {

+ 2 - 2
src/UploadTool.php

@@ -1,14 +1,14 @@
 <?php
 
 
-namespace Tool\MayouTool;
+namespace Tool;
 
 use Qiniu\Auth;
 use Qiniu\Config;
 use Qiniu\Storage\UploadManager;
 use Qiniu\Zone;
 use SplFileInfo;
-use Tool\MayouTool\Exception\FileException;
+use Tool\Exception\FileException;
 
 /**
  * 上传工具类

+ 1 - 1
src/template/Ceshi.php

@@ -1,7 +1,7 @@
 <?php
 
 
-namespace Tool\MayouTool\template;
+namespace Tool\template;
 
 
 class Ceshi