$image, 'is_show' => ConfigService::get('goods_set', 'is_show', 1), 'show_price' => ConfigService::get('goods_set', 'show_price', 1) ]; return $config; } /** * @notes 设置商品采集配置 * @param $params * @return bool * @author ljj * @date 2023/3/13 3:42 下午 */ public function setGatherKey($params) { ConfigService::set('goods_gather', 'key_99api', $params['key_99api'] ?? ''); return true; } /** * @notes 获取商品采集配置 * @return array * @author ljj * @date 2023/3/13 3:41 下午 */ public function getGatherKey() { return [ 'key_99api' => ConfigService::get('goods_gather', 'key_99api', '') ]; } }