...
|
...
|
@@ -6,6 +6,7 @@ import DeviceInfo from 'react-native-device-info'; |
|
|
import queryString from 'query-string';
|
|
|
import md5 from 'md5';
|
|
|
import timeoutPromise from '../utils/timeoutPromise';
|
|
|
import trimObject from '../utils/trimObject';
|
|
|
import RNNativeConfig from './RNNativeConfig';
|
|
|
|
|
|
export default class Request {
|
...
|
...
|
@@ -186,6 +187,9 @@ export default class Request { |
|
|
...params,
|
|
|
private_key
|
|
|
}
|
|
|
|
|
|
allParams = trimObject(allParams); // 去除首尾空格
|
|
|
|
|
|
let paramsPair = queryString.stringify(allParams)
|
|
|
let client_secret = md5(paramsPair);
|
|
|
|
...
|
...
|
|