Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
c8678e6c
Commit
c8678e6c
authored
May 08, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
77c11b9b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
xgg-saas-merchant/app/base/controller/impl/common/metaCtl.js
+2
-2
xgg-saas-merchant/app/base/controller/impl/common/uploadCtl.js
+2
-2
xgg-saas-merchant/app/base/utils/ossClient.js
+2
-2
No files found.
xgg-saas-merchant/app/base/controller/impl/common/metaCtl.js
View file @
c8678e6c
...
...
@@ -4,8 +4,8 @@ const CtlBase = require("../../ctl.base");
const
crypto
=
require
(
'crypto'
);
var
fs
=
require
(
"fs"
);
var
accesskey
=
'
DHmRtFlw2Zr3KaRwUFeiu7FWATnmla
'
;
var
accessKeyId
=
'LTAI
yAUK8AD04P5S
'
;
var
accesskey
=
'
3KV9nIwW8qkTGlrPmAe3HnR3fzM6r5
'
;
var
accessKeyId
=
'LTAI
4GC5tSKvqsH2hMqj6pvd
'
;
var
url
=
"https://gsb-zc.oss-cn-beijing.aliyuncs.com"
;
var
cacheBaseComp
=
null
;
...
...
xgg-saas-merchant/app/base/controller/impl/common/uploadCtl.js
View file @
c8678e6c
var
System
=
require
(
"../../../system"
)
const
crypto
=
require
(
'crypto'
);
var
fs
=
require
(
"fs"
);
var
accesskey
=
'
DHmRtFlw2Zr3KaRwUFeiu7FWATnmla
'
;
var
accessKeyId
=
'LTAI
yAUK8AD04P5S
'
;
var
accesskey
=
'
3KV9nIwW8qkTGlrPmAe3HnR3fzM6r5
'
;
var
accessKeyId
=
'LTAI
4GC5tSKvqsH2hMqj6pvd
'
;
var
url
=
"https://gsb-zc.oss-cn-beijing.aliyuncs.com"
;
class
UploadCtl
{
constructor
()
{
...
...
xgg-saas-merchant/app/base/utils/ossClient.js
View file @
c8678e6c
...
...
@@ -4,8 +4,8 @@ class OSSClient{
constructor
(){
this
.
client
=
new
OSS
({
endpoint
:
'https://oss-cn-beijing.aliyuncs.com'
,
accessKeyId
:
'LTAI
yAUK8AD04P5S
'
,
accessKeySecret
:
'
DHmRtFlw2Zr3KaRwUFeiu7FWATnmla
'
accessKeyId
:
'LTAI
4GC5tSKvqsH2hMqj6pvd
'
,
accessKeySecret
:
'
3KV9nIwW8qkTGlrPmAe3HnR3fzM6r5
'
});
this
.
client
.
useBucket
(
'gsb-zc'
);
}
...
...
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