接口说明:
演示获取表单数据,article可改成你自己任意的表单名。
接口源代码PHP:
<?php
/**
* 获取文章表单的总数 PHP接口源代码
*
* 最后修改:2024-10-12 12:09:02
*
* @author dogstar www.yesapi.cn
*
* 来源:https://open.yesapi.cn/apicode/170.html
*/
function ($PARAMS,$di) {
$result = array('err_code' => 0, 'err_msg' => '');
$result['total'] = $di['db']->article_tbl->count('id');
return $result;
}
在线运行
