Commit 5bda19d9 authored by 朱招明's avatar 朱招明

update

parent 7f5d75f5
......@@ -14,7 +14,6 @@
},
"files": [
"src/helpers.php",
"config/wike.php"
]
},
"require": {
......
<?php
return [
'app_key' => 'app_key',
'app_secret' => 'app_secret',
'weike' => [
'app_key' => '',
'app_secret' => '',
],
];
\ No newline at end of file
......@@ -20,7 +20,7 @@ class Base
if($config){
$this->config = $config;
}else{
$this->config = config('wike');
$this->config = config('third_api.weike');
}
if(empty($this->config['app_key'])){
throw new \Exception("缺少 app_key");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment