1. 先HmacSha1后Base64
var HmacSha1 = require('crypto-js/hmac-sha1') ;var Base64 = require('crypto-js/enc-base64');
var Authorization = Base64.stringify((HmacSha1(数据,密钥)));