setter
parent
f2d17ebea5
commit
aa59dd10ae
|
@ -133,6 +133,7 @@ class Index extends Base
|
||||||
try {
|
try {
|
||||||
CConfig::load('extra/addwechat', 'addwechat');
|
CConfig::load('extra/addwechat', 'addwechat');
|
||||||
$res = config('addwechat')?? [];
|
$res = config('addwechat')?? [];
|
||||||
|
$res["wechat"] = resourceJoin($res["wechat"],$this->request->domain());
|
||||||
$res["content"] = replaceStoragePath($res["content"]);
|
$res["content"] = replaceStoragePath($res["content"]);
|
||||||
return $this->json(0, 'success', $res);
|
return $this->json(0, 'success', $res);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|
Loading…
Reference in New Issue