ionic-vhframeworks 9.0.2 → 9.0.4
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.
|
@@ -280,6 +280,13 @@ export declare class VhAlgorithm {
|
|
|
280
280
|
*/
|
|
281
281
|
changeAlias(alias: any): any;
|
|
282
282
|
/**
|
|
283
|
+
* Ham đổi chuỗi alias có dấu thành không dấu, giữ lại ký tự đặc biệt
|
|
284
|
+
* @example:
|
|
285
|
+
* this.vhAlgorithm.changeAlias_withCharacter(alias);
|
|
286
|
+
* @alias: chuỗi có dấu và các ký tự đặc biệt
|
|
287
|
+
*/
|
|
288
|
+
changeAlias_withCharacter(alias: any): any;
|
|
289
|
+
/**
|
|
283
290
|
* Hàm này lấy về 1 unit của sản phẩm theo ratio truyền vào
|
|
284
291
|
* @example
|
|
285
292
|
* let unit = this.vhAlgorithm.getUnit_byRatio(units, 1, 1);
|
|
@@ -15782,7 +15789,7 @@ export declare class VhQueryAutoWeb {
|
|
|
15782
15789
|
id_coupon_release_detail :"315KHIUHWNIUHCIYUW3187",
|
|
15783
15790
|
id_coupon: '9841654DOIWSDYW235'
|
|
15784
15791
|
}
|
|
15785
|
-
* this.
|
|
15792
|
+
* this.vhQueryAutoWeb.createCouponCode(data)
|
|
15786
15793
|
.then((coupon_code)=>{
|
|
15787
15794
|
if(rsp.vcode === 0){
|
|
15788
15795
|
let coupon_code = rsp.data;
|
|
@@ -15819,7 +15826,7 @@ export declare class VhQueryAutoWeb {
|
|
|
15819
15826
|
id_coupon_release_detail :"315KHIUHWNIUHCIYUW3187",
|
|
15820
15827
|
id_coupon: '9841654DOIWSDYW235'
|
|
15821
15828
|
}
|
|
15822
|
-
* this.
|
|
15829
|
+
* this.vhQueryAutoWeb.createCouponCodes(data, 10)
|
|
15823
15830
|
.then((coupon_codes)=>{
|
|
15824
15831
|
console.log('createCouponCodes', coupon_codes);
|
|
15825
15832
|
}, error=>{
|