|
@@ -4,6 +4,7 @@ import (
|
|
|
"encoding/json"
|
|
|
"hongze/hongze_clpt/models"
|
|
|
"strconv"
|
|
|
+ "strings"
|
|
|
"time"
|
|
|
)
|
|
|
|
|
@@ -57,6 +58,7 @@ func (this *AdviceController) ApplyApprove() {
|
|
|
for _, s := range req.AdviceImgUrl {
|
|
|
adviceImgUrl += "#"+s
|
|
|
}
|
|
|
+ adviceImgUrl = strings.TrimLeft(adviceImgUrl, "#")
|
|
|
item := new(models.CygxAdvice)
|
|
|
item.UserId = user.UserId
|
|
|
item.UserRealName = user.RealName
|