|
@@ -27,7 +27,7 @@ dir_anchor = ''
|
|
tool_dest = '/var/www/html/tools/'
|
|
tool_dest = '/var/www/html/tools/'
|
|
|
|
|
|
|
|
|
|
-@app.post("/genAvatar_uploadmp3/")
|
|
|
|
|
|
+@router.post("/genAvatar_uploadmp3/")
|
|
async def genAvatar_uploadmp3(file: UploadFile = File(...)):
|
|
async def genAvatar_uploadmp3(file: UploadFile = File(...)):
|
|
name_hash = str(time.time()).replace('.','')
|
|
name_hash = str(time.time()).replace('.','')
|
|
|
|
|