pull/5/head
wanghousheng 4 months ago
parent ce9d7bcfb3
commit 7f8379a7f7
  1. 3
      app/admin/controller/Wxwholesaler.php

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

Loading…
Cancel
Save