aa
This commit is contained in:
@@ -45,7 +45,7 @@ func (ue *KnowUploadController) SnsUploadImg() {
|
|||||||
|
|
||||||
switch op {
|
switch op {
|
||||||
case "config":
|
case "config":
|
||||||
file, err := os.Open("deploy/config.json")
|
file, err := os.Open("./conf/config.json")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(ue.Ctx.ResponseWriter, "打开文件错误 : %v", err)
|
fmt.Fprintf(ue.Ctx.ResponseWriter, "打开文件错误 : %v", err)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user