added response all result for special call __HELP__
This commit is contained in:
@ -36,6 +36,10 @@ class <?php echo $this->apiName; ?> {
|
||||
callPromise(method, data) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.call(method, data, function(response) {
|
||||
if (method == '__HELP__') {
|
||||
resolve(response);
|
||||
return;
|
||||
}
|
||||
if (response.status == 'OK') {
|
||||
resolve(response.data);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user