Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
tzt-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1e1ccfd2
authored
Nov 07, 2024
by
lujunyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
腾讯云配置
parent
2481a2f6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
8 deletions
+18
-8
.env.example
+10
-0
app/Admin/Controllers/PharmacyController.php
+6
-6
config/filesystems.php
+2
-2
No files found.
.env.example
View file @
1e1ccfd2
...
...
@@ -30,3 +30,12 @@ REDIS_PORT=6379
ADMIN_HTTPS=false
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
app/Admin/Controllers/PharmacyController.php
View file @
1e1ccfd2
...
...
@@ -23,12 +23,12 @@ protected function grid()
$grid
->
column
(
'id'
)
->
sortable
();
$grid
->
column
(
'name'
);
$grid
->
column
(
'business_license'
);
$grid
->
column
(
'drug_biz_license'
);
$grid
->
column
(
'food_biz_license'
);
$grid
->
column
(
'med_device_biz_license'
);
$grid
->
column
(
'drug_info_service_cert'
);
$grid
->
column
(
'pre_packaged_food'
);
$grid
->
column
(
'business_license'
)
->
image
(
''
,
50
,
50
)
;
$grid
->
column
(
'drug_biz_license'
)
->
image
(
''
,
50
,
50
)
;
$grid
->
column
(
'food_biz_license'
)
->
image
(
''
,
50
,
50
)
;
$grid
->
column
(
'med_device_biz_license'
)
->
image
(
''
,
50
,
50
)
;
$grid
->
column
(
'drug_info_service_cert'
)
->
image
(
''
,
50
,
50
)
;
$grid
->
column
(
'pre_packaged_food'
)
->
image
(
''
,
50
,
50
)
;
$grid
->
column
(
'area'
);
$grid
->
column
(
'address'
);
$grid
->
column
(
'mobile'
);
...
...
config/filesystems.php
View file @
1e1ccfd2
...
...
@@ -62,7 +62,7 @@
'app_id'
=>
env
(
'COS_APP_ID'
),
'secret_id'
=>
env
(
'COS_SECRET_ID'
),
'secret_key'
=>
env
(
'COS_SECRET_KEY'
),
'region'
=>
env
(
'COS_REGION'
,
'ap-
shanghai
'
),
'region'
=>
env
(
'COS_REGION'
,
'ap-
nanjing
'
),
'bucket'
=>
env
(
'COS_BUCKET'
),
// 不带数字 app_id 后缀
...
...
@@ -73,7 +73,7 @@
'use_https'
=>
true
,
// 可选,自定义域名
'domain'
=>
'
emample-12340000.cos.test.com
'
,
'domain'
=>
''
,
// 可选,使用 CDN 域名时指定生成的 URL host
'cdn'
=>
env
(
'COS_CDN'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment