|
|
@ -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); |
|
|
|