系统版本: 1.0.0 | PHP版本: 8.0.26
/api/user/register.php
参数: name, phone, password
/api/user/login.php
参数: phone, password
/api/user/list.php
参数: page, page_size, search (需要token)
/api/user/update.php
参数: id, name, phone, password, status (需要token)
/api/user/delete.php
参数: id (需要token)
/api/call400/login.php
参数: username, password (需要用户token)
/api/call400/query.php
参数: msisdn, start_time, end_time, caller, called, call_sts等 (需要token)
/api/call400/list.php
参数: page, page_size, msisdn, caller_id, called_id等 (需要token)
/api/call400/download.php
参数: file_name, trunk_code, msisdn (需要token)
/api/baidu/receive.php
接收百度推送的线索数据(无需token,百度直接调用)
/api/baidu/list.php
参数: page, page_size, phone, clue_type, start_time, end_time (需要token)
/api/analysis/daily.php
参数: phone, start_date, end_date (需要token)
功能: 以用户手机号查询话单,统计每日话单数量和线索数量
database/init.sql 初始化数据库Authorization: Bearer {token} 或在URL参数中传递 tokenhttps://your-domain.com/api/baidu/receive.php