图片可以在后台看到,但是报401
response: {"error":"{\"callback_url\":\"121.224.193.72:1234\/api\/ngportfolio\/qiniu_callback\/\",\"callback_bodyType\":\"application\/x-www-form-urlencoded\",\"callback_body\":\"fname=Draw_1467956407p0.jpg\\u0026hash=Fh9uxDCXVw21_wCMQfwDt_5x2Dda\\u0026qiniu_key=ngportfolios\/photos\/91ad5d02-e0ab-4921-8f73-a06e2690ff94\/Draw_1467956407p0.jpg\\u0026DATA=dXBsb2FkX2RhdGU9JnVwbG9hZF9kYXRlPTIwMTYtMDctMTErMDIlM0EyMSUzQTQzLjI5MjIyMSUyQjAwJTNBMDAmcWluaXVfa2V5PURyYXdfMTQ2Nzk1NjQwN3AwLmpwZyZuZ3BvcnRmb2xpb19pZD0z\",\"token\":\"\",\"err_code\":401,\"error\":\"Unauthorized\",\"hash\":\"Fh9uxDCXVw21_wCMQfwDt_5x2Dda\",\"key\":\"ngportfolios\/photos\/91ad5d02-e0ab-4921-8f73-a06e2690ff94\/Draw_1467956407p0.jpg\"}"}
401是鉴权失败,先检查一下生成token的ak、sk是否正确。
以及该token是否过期。