Browse Source

去除tken的字样

lizhen_gitee 8 months ago
parent
commit
9ff72ea41c

+ 6 - 6
addons/cos/config.php

@@ -6,7 +6,7 @@ return [
         'title' => 'AppID',
         'type' => 'string',
         'content' => [],
-        'value' => '1316687309',
+        'value' => '1',
         'rule' => 'required',
         'msg' => '',
         'tip' => '请前往腾讯控制台 > 访问管理 > API密钥',
@@ -18,7 +18,7 @@ return [
         'title' => 'SecretId',
         'type' => 'string',
         'content' => [],
-        'value' => 'AKIDNdfT3PXR7Zv4zf7MM8mIaeU6UZXw9C2d',
+        'value' => '1',
         'rule' => 'required',
         'msg' => '',
         'tip' => '请前往腾讯控制台 > 访问管理 > API密钥',
@@ -30,7 +30,7 @@ return [
         'title' => 'SecretKey',
         'type' => 'string',
         'content' => [],
-        'value' => 'QCnCUfdR4VjkZFk284oLfolW4SdbNz3D',
+        'value' => '1',
         'rule' => 'required',
         'msg' => '',
         'tip' => '请前往腾讯控制台 > 访问管理 > API密钥',
@@ -42,7 +42,7 @@ return [
         'title' => '存储桶名称',
         'type' => 'string',
         'content' => [],
-        'value' => 'tken-1316687309',
+        'value' => '1',
         'rule' => 'required',
         'msg' => '',
         'tip' => '存储空间名称',
@@ -96,7 +96,7 @@ return [
         'title' => '上传接口地址',
         'type' => 'string',
         'content' => [],
-        'value' => 'https://tken-1316687309.cos.ap-shanghai.myqcloud.com',
+        'value' => '1',
         'rule' => 'required',
         'msg' => '',
         'tip' => '请输入你的上传接口地址',
@@ -108,7 +108,7 @@ return [
         'title' => 'CDN地址',
         'type' => 'string',
         'content' => [],
-        'value' => 'https://tken-1316687309.cos.ap-shanghai.myqcloud.com',
+        'value' => '1',
         'rule' => 'required',
         'msg' => '',
         'tip' => '请配置你的CDN地址或在存储桶基础配置中获取',

+ 2 - 2
addons/qiniu/controller/Index.php

@@ -228,11 +228,11 @@ class Index extends Controller
             Attachment::create($data, true);
 
             //水印
-            if(in_array($suffix,['jpg','png','bmp','jpeg']))
+            /*if(in_array($suffix,['jpg','png','bmp','jpeg']))
             {
                 $username = \app\common\library\Auth::instance()->username;
                 $url.= $this->water_param($username);
-            }
+            }*/
             //水印
 
             $this->success("上传成功", '', ['url' => $url, 'fullurl' => cdnurl($url, true), 'hash' => $hash]);

+ 1 - 1
application/api/controller/Payios - 副本.php

@@ -491,7 +491,7 @@ class Payios extends Api
             exit(json_encode($data));
         }
 
-        if ($data['receipt']['bundle_id'] != 'com.huxiu.tken') {
+        if ($data['receipt']['bundle_id'] != 'com.jianxun.company') {
             $result = array(
                 'status' => false,
                 'message' => '非法请求',

+ 1 - 1
application/api/controller/Payios.php

@@ -690,7 +690,7 @@ class Payios extends Api
             exit(json_encode($data));
         }
 
-        if ($data['receipt']['bundle_id'] != 'com.huxiu.tken') {
+        if ($data['receipt']['bundle_id'] != 'com.jianxun.company') {
             $result = array(
                 'status' => false,
                 'message' => '非法请求',

+ 0 - 1
application/extra/site.php

@@ -82,7 +82,6 @@ return array (
   'iso_versioncode' => '1',
   'ios_pay_sandbox' => '0',
   'pipei_oneday_vipuser_times' => '200',
-  'shuiyin' => '/uploads/20231130/FvbmaBToemZ4SVmcwk0Em3ZFtdyP.png',
   'user_bio_audit_switch' => '1',
   'dongtai_audit_switch' => '0',
   'question_icon' => '/uploads/20231130/FrrnKYeSEwjcrPfWp3yKFbtq7Kdb.png',

+ 1 - 1
application/extra/upload.php

@@ -9,7 +9,7 @@ return [
     /**
      * CDN地址
      */
-    'cdnurl'    => 'https://oss.tken.vip',
+    'cdnurl'    => 'http://oss.jianxun8.com',
     /**
      * 文件保存格式
      */

+ 1 - 1
application/index/view/index/appdownload.html

@@ -5,7 +5,7 @@
     <meta charset="UTF-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>TKEN下载</title>
+    <title>APP下载</title>
     <script src="../../assets/js/fontSize.js"></script>
 </head>
 <style>