fix bug. _ali_nonce not work on solaris

This commit is contained in:
lc 2016-11-23 16:05:05 +08:00
parent 43a7b9e8ad
commit e231366944

View File

@ -105,7 +105,9 @@ _ali_urlencode() {
}
_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...
date +"%s%N"
}
_check_exist_query() {