-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dea4374
commit 343f563
Showing
7 changed files
with
292 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"手机唯一标识码":["aaaaaaaaaa","aabbbbbbbc","ccccccccc","aaaddccccccc"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
var fs = require('fs'); // 引入fs模块 | ||
|
||
var 手机唯一标识码='aaaaaaaaaa;aabbbbbbbc;ccccccccc;aaaddccccccc' | ||
手机唯一标识码=手机唯一标识码.split(';') | ||
|
||
var 手机唯一标识码json={ | ||
"手机唯一标识码":手机唯一标识码 | ||
} | ||
手机唯一标识码json=JSON.stringify(手机唯一标识码json) | ||
console.log(手机唯一标识码json) | ||
|
||
var filename='./mobileCode.json' | ||
var data=手机唯一标识码json | ||
fs.writeFileSync(filename,data) |
Oops, something went wrong.