...
|
...
|
@@ -51,7 +51,7 @@ export default class NativeRequest { |
|
|
url,
|
|
|
body,
|
|
|
};
|
|
|
let response = await ReactNative.NativeModules.YH_CouponHelper.get(params);
|
|
|
let response = await ReactNative.NativeModules.YH_NativeRequest.get(params);
|
|
|
let data = await this._parseResponse(response);
|
|
|
return data;
|
|
|
|
...
|
...
|
@@ -92,7 +92,7 @@ export default class NativeRequest { |
|
|
url,
|
|
|
body,
|
|
|
};
|
|
|
let response = await ReactNative.NativeModules.YH_CouponHelper.post(params);
|
|
|
let response = await ReactNative.NativeModules.YH_NativeRequest.post(params);
|
|
|
let data = await this._parseResponse(response);
|
|
|
return data;
|
|
|
|
...
|
...
|
|