biz9-logic 4.8.354 → 4.8.355
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/biz9_config +1 -1
- package/index.js +17 -25
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -351,26 +351,18 @@ class Type {
|
|
|
351
351
|
case DataType.USER:
|
|
352
352
|
case DataType.VIDEO:
|
|
353
353
|
r_type = String(Str.get_title(type.replaceAll('_',' ').replaceAll('dt','').replace('biz',''))).trim();
|
|
354
|
-
console.log(r_type);
|
|
355
|
-
console.log('11111111');
|
|
356
354
|
break;
|
|
357
355
|
default:
|
|
358
356
|
r_type = "N/A";
|
|
359
357
|
break;
|
|
360
358
|
}
|
|
361
|
-
console.log(type);
|
|
362
|
-
console.log('aaaaa');
|
|
363
|
-
console.log(r_type);
|
|
364
359
|
if(option.get_plural){
|
|
365
|
-
console.log('bbbbbbbb');
|
|
366
360
|
r_type = r_type + 's';
|
|
367
361
|
}
|
|
368
362
|
if(option.get_lowercase){
|
|
369
|
-
console.log('cccccccc');
|
|
370
363
|
r_type = r_type.toLowerCase();
|
|
371
364
|
}
|
|
372
365
|
if(option.get_url){
|
|
373
|
-
console.log('dddddddd');
|
|
374
366
|
r_type = r_type.replace(" ","_").toLowerCase();
|
|
375
367
|
}
|
|
376
368
|
return r_type;
|
|
@@ -1637,39 +1629,39 @@ class Image_Logic {
|
|
|
1637
1629
|
},
|
|
1638
1630
|
{
|
|
1639
1631
|
image_filename:Type.IMAGE_SIZE_THUMB+"_"+image_filename,
|
|
1640
|
-
path_filename:upload_dir+"/"+
|
|
1632
|
+
path_filename:upload_dir+"/"+Type.IMAGE_SIZE_THUMB+"_"+image_filename,
|
|
1641
1633
|
size:250,
|
|
1642
|
-
type_resize:
|
|
1634
|
+
type_resize:Type.IMAGE_RESIZE_NORMAL,
|
|
1643
1635
|
},
|
|
1644
1636
|
{
|
|
1645
|
-
image_filename:
|
|
1646
|
-
path_filename:upload_dir+"/"+
|
|
1637
|
+
image_filename:Type.IMAGE_SIZE_MID+"_"+image_filename,
|
|
1638
|
+
path_filename:upload_dir+"/"+Type.IMAGE_SIZE_MID+"_"+image_filename,
|
|
1647
1639
|
size:720,
|
|
1648
|
-
type_resize:
|
|
1640
|
+
type_resize:Type.IMAGE_RESIZE_NORMAL,
|
|
1649
1641
|
},
|
|
1650
1642
|
{
|
|
1651
|
-
image_filename:
|
|
1652
|
-
path_filename:upload_dir+"/"+
|
|
1643
|
+
image_filename:Type.IMAGE_SIZE_LARGE+"_"+image_filename,
|
|
1644
|
+
path_filename:upload_dir+"/"+Type.IMAGE_SIZE_LARGE+"_"+image_filename,
|
|
1653
1645
|
size:1000,
|
|
1654
|
-
type_resize:
|
|
1646
|
+
type_resize:Type.IMAGE_RESIZE_NORMAL,
|
|
1655
1647
|
},
|
|
1656
1648
|
{
|
|
1657
|
-
image_filename:
|
|
1658
|
-
path_filename:upload_dir+"/"+
|
|
1649
|
+
image_filename:Type.IMAGE_SIZE_SQUARE_THUMB+"_"+image_filename,
|
|
1650
|
+
path_filename:upload_dir+"/"+Type.IMAGE_SIZE_SQUARE_THUMB+"_"+image_filename,
|
|
1659
1651
|
size:250,
|
|
1660
|
-
type_resize:
|
|
1652
|
+
type_resize:Type.IMAGE_RESIZE_SQUARE,
|
|
1661
1653
|
},
|
|
1662
1654
|
{
|
|
1663
|
-
image_filename:
|
|
1664
|
-
path_filename:upload_dir+"/"+
|
|
1655
|
+
image_filename:Type.IMAGE_SIZE_SQUARE_MID+"_"+image_filename,
|
|
1656
|
+
path_filename:upload_dir+"/"+Type.IMAGE_SIZE_SQUARE_MID+"_"+image_filename,
|
|
1665
1657
|
size:720,
|
|
1666
|
-
type_resize:
|
|
1658
|
+
type_resize:Type.IMAGE_RESIZE_SQUARE,
|
|
1667
1659
|
},
|
|
1668
1660
|
{
|
|
1669
|
-
image_filename:
|
|
1670
|
-
path_filename:upload_dir+"/"+
|
|
1661
|
+
image_filename:Type.IMAGE_SIZE_SQUARE_LARGE+"_"+image_filename,
|
|
1662
|
+
path_filename:upload_dir+"/"+Type.IMAGE_SIZE_SQUARE_LARGE+"_"+image_filename,
|
|
1671
1663
|
size:1000,
|
|
1672
|
-
type_resize:
|
|
1664
|
+
type_resize:Type.IMAGE_RESIZE_SQUARE,
|
|
1673
1665
|
},
|
|
1674
1666
|
];
|
|
1675
1667
|
}
|