Commit 17c14a38 authored by GuanHua's avatar GuanHua
parents c78f7d7b 797c1c4c
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -94,7 +94,7 @@ module.exports = { ...@@ -94,7 +94,7 @@ module.exports = {
forcePasv: true forcePasv: true
}) })
}, },
207: { study: {
SITE_ID: '1', SITE_ID: '1',
BACK_GATEWAY: 'http://10.0.1.207:8100', BACK_GATEWAY: 'http://10.0.1.207:8100',
USE_ROUTE_CONFIG: true, USE_ROUTE_CONFIG: true,
...@@ -106,7 +106,7 @@ module.exports = { ...@@ -106,7 +106,7 @@ module.exports = {
host: "10.0.1.207", host: "10.0.1.207",
port: 22, port: 22,
localRoot: path.resolve('./dist/'), localRoot: path.resolve('./dist/'),
remoteRoot: "/home/www/lingxi/lingxi-business-platform/dist/", remoteRoot: "/home/www/lingxi-business-platform/dist/",
// include: ["*", "**/*"], // this would upload everything except dot files // include: ["*", "**/*"], // this would upload everything except dot files
include: ["*"], include: ["*"],
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files) // e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
...@@ -116,5 +116,5 @@ module.exports = { ...@@ -116,5 +116,5 @@ module.exports = {
// Passive mode is forced (EPSV command is not sent) // Passive mode is forced (EPSV command is not sent)
forcePasv: true forcePasv: true
}) })
} },
} }
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"upload:scm": "cross-env local=scm taskName=upload yarn scripts:build", "upload:scm": "cross-env local=scm taskName=upload yarn scripts:build",
"upload:10": "cross-env local=10 taskName=upload yarn scripts:build", "upload:10": "cross-env local=10 taskName=upload yarn scripts:build",
"upload:25": "cross-env local=25 taskName=upload yarn scripts:build", "upload:25": "cross-env local=25 taskName=upload yarn scripts:build",
"upload:207": "cross-env local=207 taskName=upload yarn scripts:build", "upload:study": "cross-env local=study taskName=upload yarn scripts:build",
"api": "god-ytt", "api": "god-ytt",
"scripts:build": "node scripts/run", "scripts:build": "node scripts/run",
"scripts:build-yxc": "node scripts/run http://yxc-web-demo.shushangyun.com/api", "scripts:build-yxc": "node scripts/run http://yxc-web-demo.shushangyun.com/api",
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"build:scm": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-scm.wg.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lingxi-scm.wg.shushangyun.com yarn build", "build:scm": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-scm.wg.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lingxi-scm.wg.shushangyun.com yarn build",
"build:all": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-all.wg.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lingxi-all.wg.shushangyun.com yarn build", "build:all": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-all.wg.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lingxi-all.wg.shushangyun.com yarn build",
"build:10": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.10:8100 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.0.10:9400 yarn build", "build:10": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.10:8100 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.0.10:9400 yarn build",
"build:207": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.207:8100 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.1.207:9400 yarn build", "build:study": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.207:8100 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.1.207:9400 yarn build",
"postinstall": "umi generate tmp", "postinstall": "umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'", "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test", "test": "umi-test",
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
"start:scm": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-scm.wg.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lingxi-scm.wg.shushangyun.com yarn start", "start:scm": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-scm.wg.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lingxi-scm.wg.shushangyun.com yarn start",
"start:url": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-all.wg.shushangyun.com USE_ROUTE_CONFIG=true SOCKET_URL=ws://lingxi-all.wg.shushangyun.com yarn start", "start:url": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-all.wg.shushangyun.com USE_ROUTE_CONFIG=true SOCKET_URL=ws://lingxi-all.wg.shushangyun.com yarn start",
"start:10": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.10:8100 USE_ROUTE_CONFIG=true SOCKET_URL=ws://10.0.0.10:9400 yarn start", "start:10": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.10:8100 USE_ROUTE_CONFIG=true SOCKET_URL=ws://10.0.0.10:9400 yarn start",
"start:207": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.207:8100 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.1.207:9400 yarn start", "start:study": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.207:8100 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.1.207:9400 yarn start",
"start:25": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.25:8100 USE_ROUTE_CONFIG=true SOCKET_URL=ws://10.0.0.25:9400 yarn start" "start:25": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.25:8100 USE_ROUTE_CONFIG=true SOCKET_URL=ws://10.0.0.25:9400 yarn start"
}, },
"lint-staged": { "lint-staged": {
......
...@@ -111,6 +111,7 @@ const EvaluateOrder: React.FC = () => { ...@@ -111,6 +111,7 @@ const EvaluateOrder: React.FC = () => {
orderNo: orderInfo.orderNo, orderNo: orderInfo.orderNo,
orderType: orderInfo.type, orderType: orderInfo.type,
commentSubmitDetailList: payload, commentSubmitDetailList: payload,
shopId: orderInfo.shopId,
}).then(res => { }).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
setUnsaved(false); setUnsaved(false);
......
...@@ -111,6 +111,7 @@ const EvaluateOrder: React.FC = () => { ...@@ -111,6 +111,7 @@ const EvaluateOrder: React.FC = () => {
orderNo: orderInfo.orderNo, orderNo: orderInfo.orderNo,
orderType: orderInfo.type, orderType: orderInfo.type,
commentSubmitDetailList: payload, commentSubmitDetailList: payload,
shopId: orderInfo.shopId,
}).then(res => { }).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
setUnsaved(false); setUnsaved(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment