Unverified Commit 27b1dd04 authored by LJea's avatar LJea Committed by GitHub
Browse files

improve the compatibility

Fixed an issue where some embedded devices could not obtain nanoseconds resulting in abnormal parameter coding
parent b8447fca
...@@ -117,7 +117,7 @@ _ali_urlencode() { ...@@ -117,7 +117,7 @@ _ali_urlencode() {
_ali_nonce() { _ali_nonce() {
#_head_n 1 </dev/urandom | _digest "sha256" hex | cut -c 1-31 #_head_n 1 </dev/urandom | _digest "sha256" hex | cut -c 1-31
#Not so good... #Not so good...
date +"%s%N" date +"%s%N" | sed 's/%N//g'
} }
_check_exist_query() { _check_exist_query() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment