fix 字段问题

This commit is contained in:
daxpay
2025-04-28 15:19:34 +08:00
parent e9bc9ed864
commit 99edc023dd
3 changed files with 3 additions and 4 deletions

View File

@@ -60,7 +60,6 @@ async function init() {
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.block { .block {
width: 120px; width: 120px;
height: 120px; height: 120px;

View File

@@ -16,7 +16,7 @@ export function getOrderAndConfig(orderNo) {
*/ */
export function payOrder(data: payParam) { export function payOrder(data: payParam) {
return http.request<Result<payConfig>>({ return http.request<Result<payConfig>>({
url: '/unipay/gateway/pay', url: '/unipay/gateway/cashier/pay',
method: 'POST', method: 'POST',
data, data,
}) })
@@ -107,7 +107,7 @@ export interface payParam {
// 唯一标识 // 唯一标识
openId?: string openId?: string
// 付款码 // 付款码
anthCode?: string authCode?: string
} }
/** /**
* 支付配置项参数返回值 * 支付配置项参数返回值

View File

@@ -16,7 +16,7 @@ export function getOrderAndConfig(orderNo) {
*/ */
export function payOrder(data: payParam) { export function payOrder(data: payParam) {
return http.request<Result<payConfig>>({ return http.request<Result<payConfig>>({
url: '/unipay/gateway/pay', url: '/unipay/gateway/cashier/pay',
method: 'POST', method: 'POST',
data, data,
}) })