w-converhp 2.0.47 → 2.0.49

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.
@@ -448,7 +448,7 @@ function WConverhpServer(opt = {}) {
448
448
 
449
449
  //apiMain
450
450
  let apiMain = {
451
- path: `/${apiName}/main`, //bbb
451
+ path: `/${apiName}/main`,
452
452
  method: 'POST',
453
453
  options: {
454
454
  payload: {
@@ -604,7 +604,7 @@ function WConverhpServer(opt = {}) {
604
604
 
605
605
  //apiUploadCheck
606
606
  let apiUploadCheck = {
607
- path: `/${apiName}/ulctr`, //bbb
607
+ path: `/${apiName}/ulctr`,
608
608
  method: 'POST',
609
609
  options: {
610
610
  payload: {
@@ -822,7 +822,7 @@ function WConverhpServer(opt = {}) {
822
822
 
823
823
  //apiUploadSlice
824
824
  let apiUploadSlice = {
825
- path: `/${apiName}/slc`, //bbb
825
+ path: `/${apiName}/slc`,
826
826
  method: 'POST',
827
827
  options: {
828
828
  payload: {
@@ -960,7 +960,7 @@ function WConverhpServer(opt = {}) {
960
960
  // console.log('u8aOut', u8aOut)
961
961
 
962
962
  // //測試失敗重傳
963
- // if (Math.random() < 0.9) {
963
+ // if (Math.random() < 0.6) {
964
964
  // out = {
965
965
  // error: 'force error'
966
966
  // }
@@ -976,7 +976,7 @@ function WConverhpServer(opt = {}) {
976
976
 
977
977
  //apiDownloadGetFilename
978
978
  let apiDownloadGetFilename = {
979
- path: `/${apiName}/dwgfn`, //bbb
979
+ path: `/${apiName}/dwgfn`,
980
980
  method: 'POST',
981
981
  options: {
982
982
  payload: {
@@ -1098,7 +1098,7 @@ function WConverhpServer(opt = {}) {
1098
1098
 
1099
1099
  //apiDownloadGetFile
1100
1100
  let apiDownloadGetFile = {
1101
- path: `/${apiName}/dwgf`, //bbb
1101
+ path: `/${apiName}/dwgf`,
1102
1102
  method: 'GET',
1103
1103
  options: {
1104
1104
  timeout: {
@@ -1222,7 +1222,7 @@ function WConverhpServer(opt = {}) {
1222
1222
 
1223
1223
  //apiDownload
1224
1224
  let apiDownload = {
1225
- path: `/${apiName}/dw`, //bbb
1225
+ path: `/${apiName}/dw`,
1226
1226
  method: 'POST',
1227
1227
  options: {
1228
1228
  payload: {
package/srv.mjs CHANGED
@@ -135,6 +135,6 @@ setTimeout(() => {
135
135
  console.log('ms', ms)
136
136
  // console.log('ms', JSON.stringify(ms))
137
137
  wo.stop()
138
- }, 11113000)
138
+ }, 3000)
139
139
 
140
140
  //node srv.mjs