260703_002606
This commit is contained in:
parent
32e56ef712
commit
6f27b22088
@ -252,7 +252,7 @@ func hdlr_film_parseMsg(resp http.ResponseWriter, req *http.Request){
|
|||||||
|
|
||||||
db_film[string(len(db_film)-1)] = t_film
|
db_film[string(len(db_film)-1)] = t_film
|
||||||
|
|
||||||
t_json, _ := json.MarshalIndent(t_film, "", " ")
|
t_json, _ := json.MarshalIndent(db_film, "", " ")
|
||||||
fmt.Printf("%+v\n", string(t_json))
|
fmt.Printf("%+v\n", string(t_json))
|
||||||
|
|
||||||
http.Redirect(resp, req, "/film/view/?id="+string(len(db_film)-1), http.StatusFound)
|
http.Redirect(resp, req, "/film/view/?id="+string(len(db_film)-1), http.StatusFound)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user