Update gnbapi.php
This commit is contained in:
parent
f83fffaf88
commit
5cc63cdccd
|
@ -1,11 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @file gnbapi.php
|
* @file database.php
|
||||||
* @date 2018-05-31
|
* @date 2018-05-31
|
||||||
* @author Go Namhyeon <gnh1201@gmail.com>
|
* @author Go Namhyeon <gnh1201@gmail.com>
|
||||||
* @brief Integration example with Gnuboard CMS and ReasonableFramework
|
* @brief Integration example with Gnuboard CMS and ReasonableFramework
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**** how to test ***/
|
||||||
|
/* read: GET/POST [base_url]/?route=gnbapi&action=read&bo_table=[bo_table]&wr_id=[wr_id] */
|
||||||
|
/* write: GET/POST [base_url]/?route=gnbapi&action=write&bo_table=[bo_table]&wr_subject=mysubject&wr_content=mycontent&version=[4 or 5] */
|
||||||
|
|
||||||
loadHelper("gnuboard.dbt");
|
loadHelper("gnuboard.dbt");
|
||||||
|
|
||||||
$action = get_requested_value("action");
|
$action = get_requested_value("action");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user