Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
郭有超
/
SSdk
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bcde5470
authored
Dec 12, 2019
by
郭有超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还原成敏感词请求的方式
1 parent
2ed54415
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
cocos-creator-ssdk-js/SSdk.js
cocos-creator-ssdk-js/SSdk.js
View file @
bcde547
...
@@ -127,7 +127,7 @@ var SSdk = (function() {
...
@@ -127,7 +127,7 @@ var SSdk = (function() {
this
.
post
(
"https://maple.icesimba.cn/maple/notoken/sensitive/word/download"
,
JSON
.
stringify
(
data
),
function
(
res
)
{
this
.
post
(
"https://maple.icesimba.cn/maple/notoken/sensitive/word/download"
,
JSON
.
stringify
(
data
),
function
(
res
)
{
var
download_data
=
JSON
.
parse
(
res
);
var
download_data
=
JSON
.
parse
(
res
);
self
.
set_s_md5
(
download_data
.
obj
.
md5
);
self
.
set_s_md5
(
download_data
.
obj
.
md5
);
this
.
load_asset_with_retry
(
download_data
.
obj
.
url
,
function
(
tres
)
{
this
.
get
(
download_data
.
obj
.
url
,
""
,
function
(
tres
)
{
var
sumtdata
=
"[\""
+
tres
.
replace
(
/
\r\n
/g
,
"\",\""
)
+
"\"]"
;
var
sumtdata
=
"[\""
+
tres
.
replace
(
/
\r\n
/g
,
"\",\""
)
+
"\"]"
;
var
tdata
=
sumtdata
.
replace
(
"\"石国 \""
,
"石国 "
);
var
tdata
=
sumtdata
.
replace
(
"\"石国 \""
,
"石国 "
);
// 将敏感词库换成JSON数组
// 将敏感词库换成JSON数组
...
...
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