 ;;    (content-type "text/html; charset=UTF-8")))
 
 (defn launch []
-   (run-jetty app {:port 18080 :join? false :route "public"}))
+  (run-jetty app {:port 18080 :join? false :route "public"}))
 
 (defn -main
   "启动web应用程序"

;; sudo mongod

(let [conn (mg/connect)
      db   (mg/get-db conn "sls")
      u "sls"
      p (.toCharArray (str 666666))
      coll "products"]
  ;; (mg/authenticate db u p)
  ;; (mc/insert-and-return db "products" {:name "ksj" :color "黄" :count 50 :size 40 :label "default"})
  ;; (mc/find db coll {:count {"$gt" 10 "$lt" 99}})

  ;; (mc/remove db coll)
  ;; (mc/update db coll {:count {"$gt" 0}} {:count 20 :owner "高洪"} {:upsert true})
  ;; (pprint (mc/find-maps db coll))
  
  )
(defn restart []
  (.stop server)
