fix ads,passport
This commit is contained in:
44
sdk/client/typescript/ads/index.ts
Normal file
44
sdk/client/typescript/ads/index.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
// Code generated by protoc-gen-typescript-http. DO NOT EDIT.
|
||||
/* eslint-disable camelcase */
|
||||
// @ts-nocheck
|
||||
|
||||
export type ByPosRequest = {
|
||||
key?: string;
|
||||
};
|
||||
|
||||
export type ByPosReply = {
|
||||
data?: AdsItem[];
|
||||
};
|
||||
|
||||
export type AdsItem = {
|
||||
id?: number;
|
||||
/** 广告名称 */
|
||||
title?: string;
|
||||
/** 广告内容 */
|
||||
content?: string;
|
||||
/** 广告类型 1.文本 2.图片 3.视频 */
|
||||
type?: number;
|
||||
toUrl?: string;
|
||||
created?: string;
|
||||
};
|
||||
|
||||
/** 广告子系统 */
|
||||
export interface Fetch {
|
||||
}
|
||||
|
||||
type RequestType = {
|
||||
path: string;
|
||||
method: string;
|
||||
body: string | null;
|
||||
};
|
||||
|
||||
type RequestHandler = (request: RequestType, meta: { service: string, method: string }) => Promise<unknown>;
|
||||
|
||||
export function createFetchClient(
|
||||
handler: RequestHandler
|
||||
): Fetch {
|
||||
return {
|
||||
};
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(typescript-http-eof)
|
||||
Reference in New Issue
Block a user