crabatool 1.0.836 → 1.0.838
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tool/checkjs.js +13 -7
package/package.json
CHANGED
package/tool/checkjs.js
CHANGED
|
@@ -805,18 +805,24 @@ function postBaseData(data0, gspxData) {
|
|
|
805
805
|
console.log('3. 保存业务组件清单到基础数据平台');
|
|
806
806
|
|
|
807
807
|
console.log('bizList:', data0.projectName, data0.branchName, Object.keys(gspxData.bizList).length, Object.keys(gspxData.customs1).length);
|
|
808
|
+
|
|
809
|
+
var pdata = {
|
|
810
|
+
customs1: gspxData.customs1,
|
|
811
|
+
customs2: gspxData.customs2,
|
|
812
|
+
bizList: gspxData.bizList,
|
|
813
|
+
branchName: data0.branchName,
|
|
814
|
+
projectName: data0.projectName
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
if (data0.projectName == 'sale' && data0.branchName == 'master') {
|
|
818
|
+
console.log('提交data:', JSON.stringify(pdata));
|
|
819
|
+
}
|
|
808
820
|
try {
|
|
809
821
|
axios({
|
|
810
822
|
method: 'post',
|
|
811
823
|
timeout: config.timeout,
|
|
812
824
|
url: config.baseWebHost + '/apis/data_customs/save',
|
|
813
|
-
data:
|
|
814
|
-
customs1: gspxData.customs1,
|
|
815
|
-
customs2: gspxData.customs2,
|
|
816
|
-
bizList: gspxData.bizList,
|
|
817
|
-
branchName: data0.branchName,
|
|
818
|
-
projectName: data0.projectName
|
|
819
|
-
},
|
|
825
|
+
data: pdata,
|
|
820
826
|
headers: { 'Content-Type': 'application/json' }
|
|
821
827
|
}).then(function(response) {
|
|
822
828
|
console.log("3. 推送customs数据完成");
|