修改自动推广的相关任务
This commit is contained in:
@@ -448,6 +448,19 @@ class Journal extends Base {
|
||||
}
|
||||
}
|
||||
|
||||
public function uploadYboardQrcode()
|
||||
{
|
||||
$file = request()->file('qrcode_url');
|
||||
if ($file) {
|
||||
$info = $file->move(ROOT_PATH . 'public' . DS . 'journalyboardqrcode');
|
||||
if ($info) {
|
||||
return json(['code' => 0, 'upurl' => str_replace("\\", "/", $info->getSaveName())]);
|
||||
} else {
|
||||
return json(['code' => 1, 'msg' => $file->getError()]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取微信公众号相关数量
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user