api_edit_move_all.go 443 B

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