团购支付
This commit is contained in:
@@ -77,10 +77,10 @@ export function sortASCII(obj: any, isSort = true) {
|
||||
export function parseParameter(obj: any) {
|
||||
if(obj === null || obj === undefined) return '';
|
||||
const arr = [];
|
||||
const keys: any = Object.keys(obj);
|
||||
const keys: string[] = Object.keys(obj);
|
||||
const entries: any[] = Object.entries(obj);
|
||||
for (const [key, value] of entries) {
|
||||
if(keys.contains(key) && !key.startsWith('function')) {
|
||||
if(keys.includes(key) && !key.startsWith('function')) {
|
||||
arr.push(key + '=' + value);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user