Compare View
Commits (3)
Changes
Showing 3 changed files Side-by-side Diff
lib/actions/buy-to-sds.js
... | ... | @@ -6,8 +6,8 @@ const axios = require('axios').default; |
6 | 6 | const config = require('../config'); |
7 | 7 | |
8 | 8 | const client = axios.create({ |
9 | - baseURL: config.sds_ss.url, | |
10 | - timeout: config.sds_ss.request_timeout_ms, | |
9 | + baseURL: config.sds.url, | |
10 | + timeout: config.sds.request_timeout_ms, | |
11 | 11 | }); |
12 | 12 | |
13 | 13 | /** |
lib/actions/buy.js
lib/http-server/routers/updates/index.js
... | ... | @@ -36,8 +36,10 @@ const pageUpdate = async (req, res) => { |
36 | 36 | let rc = '68'; |
37 | 37 | if (data.status === 'S') { |
38 | 38 | rc = '00'; |
39 | - } else if (data.status === 'F' || data.status === 'R') { | |
39 | + } else if (data.status === 'F') { | |
40 | 40 | rc = '40'; |
41 | + } else if (data.status === 'R') { | |
42 | + rc = '47'; | |
41 | 43 | } |
42 | 44 | const params = { |
43 | 45 | id: trxId, |