public function setSandbox() { self::$url = 'https://sandbox.merchant.wish.com/api/v2'; }
/** * 功能: 初使化 */ public function __construct($account, $companyId) { parent::__construct($account, $companyId); $this->api = 'order'; //parent::$url = 'https://merchant.wish.com/api/v1/order/multi-get?key='; }
/** * 功能: 初使化 */ public function __construct($account, $companyId) { parent::__construct($account, $companyId); $this->api = 'product'; //parent::$url = 'https://merchant.wish.com/api/v1/product/'.$act.'?key='; }