Commit 1e1ccfd2 by lujunyi

腾讯云配置

parent 2481a2f6
...@@ -30,3 +30,12 @@ REDIS_PORT=6379 ...@@ -30,3 +30,12 @@ REDIS_PORT=6379
ADMIN_HTTPS=false ADMIN_HTTPS=false
ADMIN_HELPERS_ENABLE=true ADMIN_HELPERS_ENABLE=true
API_PREFIX=api
JWT_SECRET=
# 腾讯云存储配置
COS_APP_ID=1324994225
COS_SECRET_ID=
COS_SECRET_KEY=
COS_BUCKET=cloud-rx
\ No newline at end of file
...@@ -23,12 +23,12 @@ protected function grid() ...@@ -23,12 +23,12 @@ protected function grid()
$grid->column('id')->sortable(); $grid->column('id')->sortable();
$grid->column('name'); $grid->column('name');
$grid->column('business_license'); $grid->column('business_license')->image('', 50, 50);
$grid->column('drug_biz_license'); $grid->column('drug_biz_license')->image('', 50, 50);
$grid->column('food_biz_license'); $grid->column('food_biz_license')->image('', 50, 50);
$grid->column('med_device_biz_license'); $grid->column('med_device_biz_license')->image('', 50, 50);
$grid->column('drug_info_service_cert'); $grid->column('drug_info_service_cert')->image('', 50, 50);
$grid->column('pre_packaged_food'); $grid->column('pre_packaged_food')->image('', 50, 50);
$grid->column('area'); $grid->column('area');
$grid->column('address'); $grid->column('address');
$grid->column('mobile'); $grid->column('mobile');
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
'app_id' => env('COS_APP_ID'), 'app_id' => env('COS_APP_ID'),
'secret_id' => env('COS_SECRET_ID'), 'secret_id' => env('COS_SECRET_ID'),
'secret_key' => env('COS_SECRET_KEY'), 'secret_key' => env('COS_SECRET_KEY'),
'region' => env('COS_REGION', 'ap-shanghai'), 'region' => env('COS_REGION', 'ap-nanjing'),
'bucket' => env('COS_BUCKET'), // 不带数字 app_id 后缀 'bucket' => env('COS_BUCKET'), // 不带数字 app_id 后缀
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
'use_https' => true, 'use_https' => true,
// 可选,自定义域名 // 可选,自定义域名
'domain' => 'emample-12340000.cos.test.com', 'domain' => '',
// 可选,使用 CDN 域名时指定生成的 URL host // 可选,使用 CDN 域名时指定生成的 URL host
'cdn' => env('COS_CDN'), 'cdn' => env('COS_CDN'),
......
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 sign in to comment