mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore:
This commit is contained in:
@@ -14,7 +14,7 @@ export class PlusService {
|
||||
@Config('plus.server.baseUrl')
|
||||
plusServerBaseUrl;
|
||||
|
||||
async requestWithoutSign(config: any) {
|
||||
async requestWithoutSign(config: any): Promise<any> {
|
||||
config.baseURL = this.plusServerBaseUrl;
|
||||
return await request(config);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { utils } from '@certd/pipeline';
|
||||
|
||||
export async function request(config: any) {
|
||||
export async function request(config: any): Promise<any> {
|
||||
try {
|
||||
return await utils.http(config);
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user