uliweb-apijson 0.2.0 release

6 views
Skip to first unread message

Chunlin Zhang

unread,
Sep 26, 2019, 5:37:00 AM9/26/19
to Uliweb

SeedSeek

unread,
Sep 27, 2019, 5:00:16 AM9/27/19
to Uliweb
這理念太棒了,大略測試了 demo 。
api rule 能實現在資料庫 , 就更平易近人了。



Chunlin Zhang於 2019年9月26日星期四 UTC+8下午5時37分00秒寫道:

Chunlin Zhang

unread,
Sep 27, 2019, 5:31:25 AM9/27/19
to uli...@googlegroups.com
你说的 api rule实现在资料库我不太理解,能举个例子吗?

--
-- ----
Project : https://github.com/limodou/uliweb
doc : http://limodou.github.com/uliweb-doc
---
You received this message because you are subscribed to the Google Groups "Uliweb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uliweb+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uliweb/6d9f24f9-2b14-4b6e-bf14-4cafccf7628c%40googlegroups.com.

SeedSeek

unread,
Sep 27, 2019, 5:39:43 AM9/27/19
to Uliweb
user = {
    "user_id_field" : "id",
    "secret_fields" : ["password"],
    "GET" : { "roles" : ["LOGIN","ADMIN","OWNER"] },
    "HEAD" : { "roles" : ["LOGIN","ADMIN","OWNER"] },
    "POST" : { "roles" : ["ADMIN"] },
    "PUT" : { "roles" : ["ADMIN","OWNER"] },
    "DELETE" : { "roles" : ["ADMIN"] },
}

以上內容放在資料庫 , 可以實現直接在 web 上增刪查改 , 使用上會方便許多 。


Chunlin Zhang於 2019年9月27日星期五 UTC+8下午5時31分25秒寫道:
你说的 api rule实现在资料库我不太理解,能举个例子吗?

On Fri, Sep 27, 2019 at 5:00 PM SeedSeek <frt5...@gmail.com> wrote:
這理念太棒了,大略測試了 demo 。
api rule 能實現在資料庫 , 就更平易近人了。



Chunlin Zhang於 2019年9月26日星期四 UTC+8下午5時37分00秒寫道:

--
-- ----
Project : https://github.com/limodou/uliweb
doc : http://limodou.github.com/uliweb-doc
---
You received this message because you are subscribed to the Google Groups "Uliweb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uli...@googlegroups.com.

Chunlin Zhang

unread,
Sep 27, 2019, 5:55:41 AM9/27/19
to uli...@googlegroups.com
明白了
这个我是为了方便先这么做了
apijson java版是放在数据库里的,后续我考虑一下吧

To unsubscribe from this group and stop receiving emails from it, send an email to uliweb+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uliweb/94e9c931-4d96-440f-9eca-fd1fa60c9b40%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages