fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
2 changed files with 5 additions and 3 deletions
Showing only changes of commit b755a81725 - Show all commits

View file

@ -162,6 +162,7 @@ export class GBVMService extends GBService {
mobile = this.userMobile(step); mobile = this.userMobile(step);
from = mobile; from = mobile;
ubound = function(list){return list.length}; ubound = function(list){return list.length};
headers = {};
${code} ${code}
`; `;

View file

@ -639,10 +639,11 @@ export class SystemKeywords {
* @example user = get "http://server/users/1" * @example user = get "http://server/users/1"
* *
*/ */
public async getByHttp(url: string, headers: any) { public async getByHttp(url: string, headers: any, qs: any) {
const options = { const options = {
uri: url, url: url,
headers: headers headers: headers,
qs:qs,
}; };
let result = await request.get(options); let result = await request.get(options);