|  | @@ -7,9 +7,8 @@ const SendSeekable = require('send-seekable');
 | 
											
												
													
														|  |  const pool = mysql.createPool({
 |  |  const pool = mysql.createPool({
 | 
											
												
													
														|  |      keepAliveInitialDelay: 0, enableKeepAlive: true,
 |  |      keepAliveInitialDelay: 0, enableKeepAlive: true,
 | 
											
												
													
														|  |  })
 |  |  })
 | 
											
												
													
														|  | -const cnchar = require('cnchar');
 |  | 
 | 
											
												
													
														|  | -const sort = require('sort-array')
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +require('cnchar');
 | 
											
												
													
														|  | 
 |  | +require('sort-array');
 | 
											
												
													
														|  |  const Kind = {
 |  |  const Kind = {
 | 
											
												
													
														|  |      0: "去和声伴奏",
 |  |      0: "去和声伴奏",
 | 
											
												
													
														|  |      1: "和声伴奏",
 |  |      1: "和声伴奏",
 | 
											
										
											
												
													
														|  | @@ -335,7 +334,6 @@ app.post('/search_api', async function (req, res) {
 | 
											
												
													
														|  |                  sortArray(prepare, {
 |  |                  sortArray(prepare, {
 | 
											
												
													
														|  |                      by: 'spell'
 |  |                      by: 'spell'
 | 
											
												
													
														|  |                  })
 |  |                  })
 | 
											
												
													
														|  | -                fs.writeFileSync("op.json", JSON.stringify(prepare))
 |  | 
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |                  res.header("Access-Control-Allow-Origin", "*");
 |  |                  res.header("Access-Control-Allow-Origin", "*");
 | 
											
												
													
														|  |  
 |  |  
 |