Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-purchase
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张冬
web-purchase
Commits
4c67267d
Commit
4c67267d
authored
Nov 29, 2020
by
zhangdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
1bcd7723
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ali-oss.js
src/api/ali-oss.js
+4
-0
request.js
src/utils/request.js
+2
-2
No files found.
src/api/ali-oss.js
View file @
4c67267d
...
...
@@ -18,6 +18,10 @@ let client = new OSS({
accessKeyId
:
'LTAI4FyVepQBtS7P6waqWbjC'
,
accessKeySecret
:
'Fu97bC8ygDnsef8dhXlU4ZEaB2gNDM'
,
bucket
:
'jieancai'
// region: 'oss-cn-beijing',
// accessKeyId: 'LTAI4G51UAMFZhztWUpdGHs6',
// accessKeySecret: 'HbGJbVRnt1exXu80Dven3fyEwJolHx',
// bucket: 'jiuzhengadmin'
});
/**
...
...
src/utils/request.js
View file @
4c67267d
...
...
@@ -6,8 +6,8 @@ import {requestUrl,homeUrl} from "./common.js"
// 创建axios实例
const
service
=
axios
.
create
({
//
baseURL: `/apis`,
baseURL
:
"http://www.eugood.cn/apis"
,
baseURL
:
`/apis`
,
//
baseURL:"http://www.eugood.cn/apis",
timeout
:
35000
// 请求超时时间
})
...
...
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