@ -287,7 +287,8 @@ class Wxwholesaler extends Controller
public function setDomain(): Json
{
$msg = 'appid不能为空';
$appid = $this->request->get('appid');
$domain = $this->request->domain(true);
$appid = $this->request->get('appid', $domain);
if ($appid) {
$obj = new Wholesaler();
$msg = $obj->setDomain($appid);