api_edit_move_all.go 431 B

12345678910111213141516171819202122232425
  1. package route
  2. import (
  3. "encoding/json"
  4. "opennamu/route/tool"
  5. )
  6. func Api_edit_move_all(call_arg []string) string {
  7. db_set := map[string]string{}
  8. json.Unmarshal([]byte(call_arg[0]), &db_set)
  9. other_set := map[string]string{}
  10. json.Unmarshal([]byte(call_arg[1]), &other_set)
  11. db := tool.DB_connect(db_set)
  12. defer db.Close()
  13. if other_set["select"] == "include" {
  14. } else if other_set["select"] == "start" {
  15. } else {
  16. }
  17. }