新增银联支付

This commit is contained in:
gxwebsoft
2023-11-30 16:47:31 +08:00
parent 20062c3ae8
commit 3f84ac8743
91 changed files with 11989 additions and 111 deletions
@@ -0,0 +1,14 @@
'use strict'
/**
* Creates a new URL by combining the specified URLs
*
* @param {string} baseURL The base URL
* @param {string} relativeURL The relative URL
* @returns {string} The combined URL
*/
export default function combineURLs(baseURL, relativeURL) {
return relativeURL
? `${baseURL.replace(/\/+$/, '')}/${relativeURL.replace(/^\/+/, '')}`
: baseURL
}