@@ -215,6 +215,7 @@ func GetSunCode(c *gin.Context) {
if sunCodeUrl == ""{
sunCodeUrl, err = services.PcCreateAndUploadSunCode(req.CodeScene, req.CodePage)
if err != nil {
+ response.Fail(err.Error(), c)
return
}