wangzhibo
6 天以前 7dcc2997614f849258091f5d66e648317a40d323
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;