diff --git a/app/libs/controller/order/class.PrintSettingController.php b/app/libs/controller/order/class.PrintSettingController.php index 60847fb..3cb59e8 100644 --- a/app/libs/controller/order/class.PrintSettingController.php +++ b/app/libs/controller/order/class.PrintSettingController.php @@ -520,11 +520,11 @@ class PrintSettingController extends AbstractApiController { /** * @api GET 获取模板分享码 * @param int tplId * 模板ID - * @param int chnage * 是否刷新(0/1) + * @param int change * 是否刷新(0/1) */ public function getUserExpressTplAuthCode() { - $this->expressTplService->getUserExpressTplAuthCode($this->mallId, $_GET['authCode'], !empty($_GET['change'])); - return $this->renderSuccess(); + $authCode = $this->expressTplService->getUserExpressTplAuthCode($this->mallId, $_GET['authCode'], !empty($_GET['change'])); + return $this->renderSuccess(['authCode' => $authCode]); } /**