Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e926b04d
authored
Jan 26, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
1a49e95a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
linkwe-ui/src/api/common.js
linkwe-ui/src/config.js
linkwe-ui/src/api/common.js
View file @
e926b04
import
request
from
'@/utils/request'
import
request
from
'@/utils/request'
const
service
=
window
.
CONFIG
.
services
.
common
export
function
upload
(
data
)
{
return
request
({
url
:
service
+
'/uploadFile2Cos'
,
method
:
'POST'
,
data
,
})
}
/**
/**
* 下载网络连接文件
* 下载网络连接文件
...
...
linkwe-ui/src/config.js
View file @
e926b04
...
@@ -31,6 +31,7 @@ window.CONFIG = {
...
@@ -31,6 +31,7 @@ window.CONFIG = {
services
:
{
services
:
{
wecom
:
'/wecom'
,
wecom
:
'/wecom'
,
common
:
'/common'
,
},
},
get
headers
()
{
get
headers
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment