Skip to content

Commit

Permalink
命名空间规范修改
Browse files Browse the repository at this point in the history
  • Loading branch information
jiujiude committed Oct 29, 2021
1 parent cb310f0 commit eca4856
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"WechatEcommerce\\": "src/"
"jiujiude\\WechatEcommerce\\": "src/"
}
}
}
2 changes: 1 addition & 1 deletion src/Account.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

/**
* 分账功能
Expand Down
2 changes: 1 addition & 1 deletion src/Apply.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

//商户进件 SDK
//分普通服务商 也就是特约 和 电商收付通的二级商户
Expand Down
2 changes: 1 addition & 1 deletion src/Bill.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

//查询余额 账单下载
class Bill
Expand Down
2 changes: 1 addition & 1 deletion src/Cert.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

class Cert
{
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

/**
* 配置信息
Expand Down
2 changes: 1 addition & 1 deletion src/Notify.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

//回调数据验证 验证签名 返回数据
class Notify
Expand Down
2 changes: 1 addition & 1 deletion src/Pay.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

//支付操作:jsapi native,app 小程序 h5 ,以及对于的支付拉起,查询订单,退款
//目前只有,jsapi 支付和小程序支付,查询订单,退款
Expand Down
2 changes: 1 addition & 1 deletion src/Signs.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

//加签,延签,加密,解密,get提交,post提交
class Signs
Expand Down
2 changes: 1 addition & 1 deletion src/Uploads.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

//上传图片,上传物理地址返回 微信的media_id
class Uploads
Expand Down
2 changes: 1 addition & 1 deletion src/WxPayv3Exception.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WechatEcommerce;
namespace jiujiude\WechatEcommerce;

/**
* 微信支付API异常类
Expand Down
6 changes: 3 additions & 3 deletions tests/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* Time: 11:41
*/

use WechatEcommerce\Apply;
use WechatEcommerce\Config;
use WechatEcommerce\WxPayv3Exception;
use jiujiude\WechatEcommerce\Apply;
use jiujiude\WechatEcommerce\Config;
use jiujiude\WechatEcommerce\WxPayv3Exception;

require_once '../vendor/autoload.php';

Expand Down

0 comments on commit eca4856

Please sign in to comment.