@be-link/ros-cli-nodejs
TypeScript icon, indicating that this package has built-in type declarations

0.1.20 • Public • Published

ros-cli-nodejs

逆向订单服务SDK

安装

npm install @be-link/ros-cli-nodejs

使用

配置环境变量

CONTAINER_ENV = SFC(云函数) || CLOUD_RUN(云托管)

SDK依赖CONTAINER_ENV来识别当前运行环境,默认为SFC, 请根据使用SDK的环境来配置该变量。

CONTAINER_ENVSFC时,SDK会从公网访问POS, 否则使用内网域名(更快, 更安全).

引入模块

// 逆向单操作类
import { rosProcessService } from '@be-link/ros-cli-nodejs'
// 逆向单查询
import { rosQueryService } from '@be-link/ros-cli-nodejs'
// 枚举类
import { RosConstants } from '@be-link/ros-cli-nodejs'

Readme

Keywords

none

Package Sidebar

Install

npm i @be-link/ros-cli-nodejs

Weekly Downloads

64

Version

0.1.20

License

ISC

Unpacked Size

48.9 kB

Total Files

44

Last publish

Collaborators

  • 8848top-dev
  • yangboys
  • hanguodong