Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-school-app
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
wx-school-app
Commits
e4a5eb04
Commit
e4a5eb04
authored
Mar 05, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'test'
删除老base接口引用 See merge request
!2
parents
ac84281c
6dbfd042
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
index.ts
src/api/index.ts
+0
-2
index.js
src/constants/index.js
+0
-1
BarCode.tsx
src/pages/BarCode/BarCode.tsx
+3
-0
No files found.
src/api/index.ts
View file @
e4a5eb04
import
Taro
,
{
request
}
from
'@tarojs/taro'
;
import
store
from
'../store/index'
;
import
{
OLD_BASE_SERVER_URL
,
BASE_SERVER_URL
,
CUSTOMER_SERVER_URL
,
SCHOOL_MAIN_URL
,
...
...
@@ -43,7 +42,6 @@ const createFetch = (basePath: string) => {
};
};
export
const
oldBaseFetch
=
createFetch
(
OLD_BASE_SERVER_URL
);
export
const
baseFetch
=
createFetch
(
BASE_SERVER_URL
);
export
const
customerFetch
=
createFetch
(
CUSTOMER_SERVER_URL
);
export
const
schoolMainFetch
=
createFetch
(
SCHOOL_MAIN_URL
);
...
...
src/constants/index.js
View file @
e4a5eb04
export
const
APP_ID
=
'wxf5912b79bba23663'
;
export
const
OLD_BASE_SERVER_URL
=
'https://ex-test-selfbase.168cad.top'
;
export
const
BASE_SERVER_URL
=
'https://ex-test-dcxy-base-app.168cad.top'
;
export
const
CUSTOMER_SERVER_URL
=
'https://ex-test-dcxy-customer-app.168cad.top'
;
...
...
src/pages/BarCode/BarCode.tsx
View file @
e4a5eb04
...
...
@@ -160,6 +160,9 @@ class BarCode extends Component {
}
drawBarCode
(
showBig
:
boolean
)
{
const
{
userinfo
}
=
this
.
props
;
Taro
.
setScreenBrightness
({
value
:
1
,
});
if
(
showBig
)
{
wxbarcode
.
barcode
(
'BarCode'
,
userinfo
.
idBar
,
646
,
188
);
}
else
{
...
...
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