Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-school-app-public
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-public
Commits
e77fcdb1
Commit
e77fcdb1
authored
Jul 05, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加洗浴
parent
e0487a8f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
7 deletions
+18
-7
index.js
src/constants/index.js
+1
-0
pay.tsx
src/pages/pay/pay.tsx
+0
-0
arrayBuffer.ts
src/utils/arrayBuffer.ts
+12
-0
tsconfig.json
tsconfig.json
+5
-7
No files found.
src/constants/index.js
View file @
e77fcdb1
...
...
@@ -3,3 +3,4 @@ export const LogoutCode = -2;
export
const
NotRegisterCode
=
1005
;
export
const
BASE_SERVER_URL
=
'https://ex-dev-dcxy-smapro-app.168cad.top'
;
export
const
SOCKET_URL
=
'wss://dev-shower-wss1.168cad.top:9443/ws'
;
src/pages/pay/pay.tsx
View file @
e77fcdb1
This diff is collapsed.
Click to expand it.
src/utils/arrayBuffer.ts
0 → 100644
View file @
e77fcdb1
export
const
ab2str
=
(
buf
:
ArrayBuffer
):
string
=>
{
return
String
.
fromCharCode
.
apply
(
null
,
new
Int8Array
(
buf
));
};
export
const
str2ab
=
(
str
:
string
):
ArrayBuffer
=>
{
var
buf
=
new
ArrayBuffer
(
str
.
length
);
var
bufView
=
new
Int8Array
(
buf
);
for
(
var
i
=
0
,
strLen
=
str
.
length
;
i
<
strLen
;
i
++
)
{
bufView
[
i
]
=
str
.
charCodeAt
(
i
);
}
return
buf
;
};
tsconfig.json
View file @
e77fcdb1
...
...
@@ -15,16 +15,14 @@
"sourceMap"
:
true
,
"baseUrl"
:
"."
,
"rootDir"
:
"."
,
"paths"
:
{
"@/*"
:
[
"./src/*"
]
},
"jsx"
:
"preserve"
,
"jsxFactory"
:
"Taro.createElement"
,
"allowJs"
:
true
,
"typeRoots"
:
[
"node_modules/@types"
]
"typeRoots"
:
[
"node_modules/@types"
]
},
"exclude"
:
[
"node_modules"
,
"dist"
],
"exclude"
:
[
"node_modules"
,
"dist"
],
"compileOnSave"
:
false
}
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