wugg 1 year ago
parent
commit
00e2fea876
3 changed files with 5 additions and 4 deletions
  1. 1 1
      .gitignore
  2. 2 1
      config/invoice.php
  3. 2 2
      extend/TaxInvoice.php

+ 1 - 1
.gitignore

@@ -6,4 +6,4 @@
 /runtime
 /config
 /config/
-/extend
+/extend/

+ 2 - 1
config/invoice.php

@@ -1,7 +1,8 @@
 <?php
 
 return [
-	"appKey"=>'mHdaJvBLpNwj6LXtlc3rD0ym',
+//	"appKey"=>'mHdaJvBLpNwj6LXtlc3rD0ym',
+	"appKey"=>'1111',
 	"appSecret"=>'BgTos04i5K8xxeLqK7w1MVOq',
 	'entCode'=>'91110113MA004JNJ28'
 ];

+ 2 - 2
extend/TaxInvoice.php

@@ -106,8 +106,8 @@ class TaxInvoice {
     protected $entCode;//企业税号
     protected $zipCode;//压缩标识
     protected $encryptCode;//加密标识 0 base64 1 3DES
-    protected $domain='https://openapi.ele-cloud.com';//测试域名
-//    protected $domain='https://sandbox.ele-cloud.com';
+//    protected $domain='https://openapi.ele-cloud.com';//正式域名
+    protected $domain='https://sandbox.ele-cloud.com';//测试域名
     public function __construct(string $appKey,string $appSecret,string $entCode='',$zipCode=0,$encryptCode=0){
         $this->appKey=$appKey;
         $this->appSecret=$appSecret;