From 06988494b30577e6027e50547f0b24f1c6fe20f1 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sun, 14 Nov 2021 17:17:17 +0800 Subject: [PATCH] order_by name asc --- disk/Aliyundrive.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disk/Aliyundrive.php b/disk/Aliyundrive.php index 795fd59..6dd2875 100644 --- a/disk/Aliyundrive.php +++ b/disk/Aliyundrive.php @@ -194,8 +194,8 @@ class Aliyundrive { $data['image_url_process'] = 'image/resize,w_1920/format,jpeg'; $data['video_thumbnail_process'] = 'video/snapshot,t_0,f_jpg,w_300'; $data['fields'] = '*'; - $data['order_by'] = 'updated_at'; - $data['order_direction'] = 'DESC'; + $data['order_by'] = 'name'; //updated_at + $data['order_direction'] = 'ASC'; //DESC $res = curl('POST', $url, json_encode($data), $header); //error_log1($res['stat'] . $res['body']);