pull/5/head
wanghousheng 7 months ago
parent 798a103e5e
commit 5dd2e2dd0e
  1. 5
      app/admin/controller/Wxwholesaler.php

@ -326,10 +326,11 @@ class Wxwholesaler extends Controller
public function modifyJumpDomain(): Json public function modifyJumpDomain(): Json
{ {
$msg = 'appid不能为空'; $msg = 'appid不能为空';
$domain = $this->request->domain(true);
$appid = $this->request->get('appid'); $appid = $this->request->get('appid');
if ($appid) { if ($appid) {
$obj = new Wholesaler(); $obj = new Wholesaler();
$msg = $obj->modifyJumpDomain($appid); $msg = $obj->modifyJumpDomain($appid, $domain);
if ($msg == 'ok') { if ($msg == 'ok') {
return $this->renderSuccess('success'); return $this->renderSuccess('success');
} }
@ -338,7 +339,7 @@ class Wxwholesaler extends Controller
} }
/** /**
* @notes:设置业务域名 * @notes:设置订单页
* @return Json * @return Json
* @author: wanghousheng * @author: wanghousheng
*/ */

Loading…
Cancel
Save