|
@@ -73,8 +73,10 @@ func (m *Material) LinkTransfer(mid, personChannel string) error {
|
|
|
return m.Redirect(imgWebpage)
|
|
|
} else if types == 0 && realUrl != "" {
|
|
|
return m.Redirect(realUrl)
|
|
|
+ } else {
|
|
|
+ return m.Redirect(util.InterfaceToStr(config.Sysconfig["webdomain"]))
|
|
|
}
|
|
|
- return m.Redirect(util.InterfaceToStr(config.Sysconfig["webdomain"]))
|
|
|
+
|
|
|
}
|
|
|
|
|
|
func ImageToBase64(img image.Image, format string) (string, error) {
|