feat: 添加阿里云短信服务支持并优化验证码逻辑
- 引入 alibabacloud/dysmsapi-20170525 依赖,集成阿里云短信服务 - 将短信验证码从6位改为4位,优化用户体验 - 添加聚水潭商品按时间范围同步功能,支持分页拉取 - 增强Cron任务异常处理,添加错误日志记录 - 修复系统附件服务中图片路径处理逻辑 - 更新阿里云SDK相关组件至最新版本 - 添加think-trace调试扩展,便于问题排查 - 优化跨域中间件,使用str_contains替代strpos
This commit is contained in:
@@ -14,6 +14,7 @@ namespace app\controller\admin\v1\statistic;
|
||||
use app\controller\admin\AuthController;
|
||||
use app\services\statistic\OrderStatisticServices;
|
||||
use think\annotation\Inject;
|
||||
use think\facade\Log;
|
||||
|
||||
class OrderStatistic extends AuthController
|
||||
{
|
||||
@@ -36,6 +37,10 @@ class OrderStatistic extends AuthController
|
||||
if($this->supplierId > 0){
|
||||
$where['supplier_id'] = $this->supplierId;
|
||||
}
|
||||
$params = $this->request->param();
|
||||
$paramsJson = json_encode($params, JSON_UNESCAPED_UNICODE);
|
||||
$whereJson = json_encode($where, JSON_UNESCAPED_UNICODE);
|
||||
Log::info('adminapi.statistic.order.get_basic supplierId:' . (int)$this->supplierId . ' params:' . ($paramsJson === false ? '' : $paramsJson) . ' where:' . ($whereJson === false ? '' : $whereJson));
|
||||
$data = $this->services->getBasic($where);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user