order_by name asc

pull/471/head
qkqpttgf 2021-11-14 17:17:17 +08:00 committed by GitHub
parent 9d677c8aee
commit 06988494b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -194,8 +194,8 @@ class Aliyundrive {
$data['image_url_process'] = 'image/resize,w_1920/format,jpeg'; $data['image_url_process'] = 'image/resize,w_1920/format,jpeg';
$data['video_thumbnail_process'] = 'video/snapshot,t_0,f_jpg,w_300'; $data['video_thumbnail_process'] = 'video/snapshot,t_0,f_jpg,w_300';
$data['fields'] = '*'; $data['fields'] = '*';
$data['order_by'] = 'updated_at'; $data['order_by'] = 'name'; //updated_at
$data['order_direction'] = 'DESC'; $data['order_direction'] = 'ASC'; //DESC
$res = curl('POST', $url, json_encode($data), $header); $res = curl('POST', $url, json_encode($data), $header);
//error_log1($res['stat'] . $res['body']); //error_log1($res['stat'] . $res['body']);