import { BasePlugin } from '@cool-midway/plugin-cli';
|
/**
|
* 物料查询
|
*/
|
export declare class CoolPlugin extends BasePlugin {
|
host: string;
|
/**
|
* 阿里云市场物流查询 https://market.aliyun.com/products/56928004/cmapi021863.html
|
* @param no 快递单号
|
* @param type 快递公司编码,不传则自动识别(准确率95%)
|
*/
|
query(no: string, type?: string): Promise<any>;
|
/**
|
* 获得所有快递公司
|
* @returns
|
*/
|
companyList(): Promise<any>;
|
}
|
export declare const Plugin: typeof CoolPlugin;
|