发布数据如何与 Common Lisp 一起工作?

问题描述 投票:0回答:0

我有一个邮寄路线:


(defroute admin-post ("/admin" :method :post)
    (&post client db email)
  (let ((c (write-to-string client))
    (d (write-to-string db))
    (res (by-email email)))
    (render-template* *admin.html* nil
              :title "Admin Area"
              :clientName c
              :dbName d
              :db-res res)))

email 的值被

by-email
函数成功处理。但是
c
d
值是
nil
.

ive 也试过没有

write-to-string
但它返回一个空白值到页面。

post common-lisp
© www.soinside.com 2019 - 2024. All rights reserved.