正在显示
3 个修改的文件
包含
138 行增加
和
3 行删除
| @@ -23,7 +23,8 @@ | @@ -23,7 +23,8 @@ | ||
| 23 | "ext-json": "*", | 23 | "ext-json": "*", |
| 24 | "illuminate/support": "^8.0", | 24 | "illuminate/support": "^8.0", |
| 25 | "illuminate/console": "^8.0", | 25 | "illuminate/console": "^8.0", |
| 26 | - "illuminate/http": "^8.0" | 26 | + "illuminate/http": "^8.0", |
| 27 | + "guzzlehttp/guzzle": "^7.0" | ||
| 27 | }, | 28 | }, |
| 28 | "require-dev": { | 29 | "require-dev": { |
| 29 | "phpunit/phpunit": "^9.5.10", | 30 | "phpunit/phpunit": "^9.5.10", |
| @@ -753,4 +753,81 @@ class Buyin extends Request implements BuyinInterface | @@ -753,4 +753,81 @@ class Buyin extends Request implements BuyinInterface | ||
| 753 | ->path('/buyin/activityShareConvert') | 753 | ->path('/buyin/activityShareConvert') |
| 754 | ->params($params); | 754 | ->params($params); |
| 755 | } | 755 | } |
| 756 | + | ||
| 757 | + /** | ||
| 758 | + * @inheritDoc | ||
| 759 | + */ | ||
| 760 | + public function kolMaterialsProductsSearch(array $params = []) | ||
| 761 | + { | ||
| 762 | + $this->builder->method('POST') | ||
| 763 | + ->service('buyin.kolMaterialsProductsSearch') | ||
| 764 | + ->path('/buyin/kolMaterialsProductsSearch') | ||
| 765 | + ->params($params); | ||
| 766 | + } | ||
| 767 | + | ||
| 768 | + /** | ||
| 769 | + * @inheritDoc | ||
| 770 | + */ | ||
| 771 | + public function doukeOrderAds(array $params = []) | ||
| 772 | + { | ||
| 773 | + $this->builder->method('POST') | ||
| 774 | + ->service('buyin.doukeOrderAds') | ||
| 775 | + ->path('/buyin/doukeOrderAds') | ||
| 776 | + ->params($params); | ||
| 777 | + } | ||
| 778 | + | ||
| 779 | + /** | ||
| 780 | + * @inheritDoc | ||
| 781 | + */ | ||
| 782 | + public function doukePidList(array $params = []) | ||
| 783 | + { | ||
| 784 | + $this->builder->method('POST') | ||
| 785 | + ->service('buyin.doukePidList') | ||
| 786 | + ->path('/buyin/doukePidList') | ||
| 787 | + ->params($params); | ||
| 788 | + } | ||
| 789 | + | ||
| 790 | + /** | ||
| 791 | + * @inheritDoc | ||
| 792 | + */ | ||
| 793 | + public function doukePidCreate(array $params = []) | ||
| 794 | + { | ||
| 795 | + $this->builder->method('POST') | ||
| 796 | + ->service('buyin.doukePidCreate') | ||
| 797 | + ->path('/buyin/doukePidCreate') | ||
| 798 | + ->params($params); | ||
| 799 | + } | ||
| 800 | + | ||
| 801 | + /** | ||
| 802 | + * @inheritDoc | ||
| 803 | + */ | ||
| 804 | + public function doukePidEdit(array $params = []) | ||
| 805 | + { | ||
| 806 | + $this->builder->method('POST') | ||
| 807 | + ->service('buyin.doukePidEdit') | ||
| 808 | + ->path('/buyin/doukePidEdit') | ||
| 809 | + ->params($params); | ||
| 810 | + } | ||
| 811 | + | ||
| 812 | + /** | ||
| 813 | + * @inheritDoc | ||
| 814 | + */ | ||
| 815 | + public function doukePidDel(array $params = []) | ||
| 816 | + { | ||
| 817 | + $this->builder->method('POST') | ||
| 818 | + ->service('buyin.doukePidDel') | ||
| 819 | + ->path('/buyin/doukePidDel') | ||
| 820 | + ->params($params); | ||
| 821 | + } | ||
| 822 | + | ||
| 823 | + /** | ||
| 824 | + * @inheritDoc | ||
| 825 | + */ | ||
| 826 | + public function doukeActivityMaterialList(array $params = []) | ||
| 827 | + { | ||
| 828 | + $this->builder->method('POST') | ||
| 829 | + ->service('buyin.doukeActivityMaterialList') | ||
| 830 | + ->path('/buyin/doukeActivityMaterialList') | ||
| 831 | + ->params($params); | ||
| 832 | + } | ||
| 756 | } | 833 | } |
| @@ -394,10 +394,11 @@ interface BuyinInterface | @@ -394,10 +394,11 @@ interface BuyinInterface | ||
| 394 | public function buyinShareCommandParse(array $params = []); | 394 | public function buyinShareCommandParse(array $params = []); |
| 395 | 395 | ||
| 396 | /** | 396 | /** |
| 397 | - * 达人商品分销转链 | ||
| 398 | - * @link https://op.jinritemai.com/docs/api-docs/61/1464 | 397 | + * 达人商品分销转链(旧) 使用kolMaterialsProductsSearch代替 |
| 399 | * @param array $params | 398 | * @param array $params |
| 400 | * @return ResultSet | 399 | * @return ResultSet |
| 400 | + * @deprecated | ||
| 401 | + * @link https://op.jinritemai.com/docs/api-docs/61/1464 | ||
| 401 | */ | 402 | */ |
| 402 | public function buyinKolProductShare(array $params = []); | 403 | public function buyinKolProductShare(array $params = []); |
| 403 | 404 | ||
| @@ -552,4 +553,60 @@ interface BuyinInterface | @@ -552,4 +553,60 @@ interface BuyinInterface | ||
| 552 | * @return ResultSet | 553 | * @return ResultSet |
| 553 | */ | 554 | */ |
| 554 | public function buyinActivityShareConvert(array $params = []); | 555 | public function buyinActivityShareConvert(array $params = []); |
| 556 | + | ||
| 557 | + /** | ||
| 558 | + * 检索精选联盟商品 | ||
| 559 | + * @link https://op.jinritemai.com/docs/api-docs/61/1725 | ||
| 560 | + * @param array $params | ||
| 561 | + * @return mixed | ||
| 562 | + */ | ||
| 563 | + public function kolMaterialsProductsSearch(array $params = []); | ||
| 564 | + | ||
| 565 | + /** | ||
| 566 | + * 查询独立抖客分销订单 | ||
| 567 | + * @link https://op.jinritemai.com/docs/api-docs/61/3083 | ||
| 568 | + * @param array $params | ||
| 569 | + * @return mixed | ||
| 570 | + */ | ||
| 571 | + public function doukeOrderAds(array $params = []); | ||
| 572 | + | ||
| 573 | + /** | ||
| 574 | + * 抖客PID查询接口 | ||
| 575 | + * @link https://op.jinritemai.com/docs/api-docs/61/3082 | ||
| 576 | + * @param array $params | ||
| 577 | + * @return mixed | ||
| 578 | + */ | ||
| 579 | + public function doukePidList(array $params = []); | ||
| 580 | + | ||
| 581 | + /** | ||
| 582 | + * 独立抖客PID创建 | ||
| 583 | + * @link https://op.jinritemai.com/docs/api-docs/61/3081 | ||
| 584 | + * @param array $params | ||
| 585 | + * @return mixed | ||
| 586 | + */ | ||
| 587 | + public function doukePidCreate(array $params = []); | ||
| 588 | + | ||
| 589 | + /** | ||
| 590 | + * 独立抖客PID编辑 | ||
| 591 | + * @link https://op.jinritemai.com/docs/api-docs/61/3080 | ||
| 592 | + * @param array $params | ||
| 593 | + * @return mixed | ||
| 594 | + */ | ||
| 595 | + public function doukePidEdit(array $params = []); | ||
| 596 | + | ||
| 597 | + /** | ||
| 598 | + * 独立抖客PID删除 | ||
| 599 | + * @link https://op.jinritemai.com/docs/api-docs/61/3079 | ||
| 600 | + * @param array $params | ||
| 601 | + * @return mixed | ||
| 602 | + */ | ||
| 603 | + public function doukePidDel(array $params = []); | ||
| 604 | + | ||
| 605 | + /** | ||
| 606 | + * 获取活动页物料列表 | ||
| 607 | + * @link https://op.jinritemai.com/docs/api-docs/61/3129 | ||
| 608 | + * @param array $params | ||
| 609 | + * @return mixed | ||
| 610 | + */ | ||
| 611 | + public function doukeActivityMaterialList(array $params = []); | ||
| 555 | } | 612 | } |
-
请 注册 或 登录 后发表评论