component-shipinlv 2.2.15 → 2.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@ import './index.less';
3
3
  interface Props {
4
4
  productType: string;
5
5
  from: Ad.From;
6
- position: string;
7
6
  dealerId: number;
7
+ position: string;
8
8
  env?: Global.Env;
9
9
  }
10
10
  declare const Ad: React.FC<Props>;
package/dist/Ad/index.js CHANGED
@@ -12,8 +12,8 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
12
12
  var Ad = function Ad(_ref) {
13
13
  var productType = _ref.productType,
14
14
  from = _ref.from,
15
- position = _ref.position,
16
15
  dealerId = _ref.dealerId,
16
+ position = _ref.position,
17
17
  env = _ref.env;
18
18
  var listDataRef = useRef([]);
19
19
  var currentIndexRef = useRef(0);
@@ -44,8 +44,8 @@ var Ad = function Ad(_ref) {
44
44
  return AdController.list({
45
45
  productType: productType,
46
46
  from: from,
47
- position: position,
48
- dealerId: dealerId
47
+ dealerId: dealerId,
48
+ position: position
49
49
  }, {
50
50
  env: env
51
51
  });
@@ -1,6 +1,6 @@
1
1
  export declare function list(body: {
2
2
  productType: string;
3
3
  from: 'web' | 'client';
4
- position: string;
5
4
  dealerId: number;
5
+ position: string;
6
6
  }, options?: Global.RequestOptions): Promise<Ad.List[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "2.2.15",
3
+ "version": "2.2.17",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",