* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace EasyWeChat\MiniProgram\Mall; use EasyWeChat\Kernel\BaseClient; /** * Class Client. * * @author mingyoung */ class MediaClient extends BaseClient { /** * 更新或导入媒体信息. * * @param array $params * * @return mixed * * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException * @throws \GuzzleHttp\Exception\GuzzleException */ public function import($params) { return $this->httpPostJson('mall/importmedia', $params); } }