| xqd
@@ -14,10 +14,13 @@ use Illuminate\Http\Request;
|
|
|
use App\Repositories\Base\Criteria\OrderBy;
|
|
|
use App\Repositories\System\Criteria\MultiWhere;
|
|
|
use App\Repositories\System\InfoRepository;
|
|
|
+use App\Helper\JpushHelper;
|
|
|
+
|
|
|
|
|
|
class InfoController extends Controller
|
|
|
{
|
|
|
private $repository;
|
|
|
+ use JpushHelper;
|
|
|
|
|
|
public function __construct(InfoRepository $repository) {
|
|
|
if(!$this->repository) $this->repository = $repository;
|
| xqd
@@ -169,6 +172,7 @@ class InfoController extends Controller
|
|
|
'created_at'=>date("Y-m-d H:i:s"),
|
|
|
'updated_at'=>date("Y-m-d H:i:s"),
|
|
|
];
|
|
|
+ $this->jPush($message,'',$user['id']);
|
|
|
}
|
|
|
$ok = SystemInfoModel::insert($arr);
|
|
|
if ($ok) {
|