|
@@ -112,13 +112,18 @@ class Data
|
|
{
|
|
{
|
|
$type = Dever::input('type', 1);
|
|
$type = Dever::input('type', 1);
|
|
$id = Dever::input('id', 1);
|
|
$id = Dever::input('id', 1);
|
|
- $push = array('type' => $type, 'id' => $id);
|
|
|
|
-
|
|
|
|
- $push = json_encode($push);
|
|
|
|
- $uid = -1;
|
|
|
|
$to_uid = Dever::input('uid', 7);
|
|
$to_uid = Dever::input('uid', 7);
|
|
$name = Dever::input('name', 'test');
|
|
$name = Dever::input('name', 'test');
|
|
$content = Dever::input('content', 'test');
|
|
$content = Dever::input('content', 'test');
|
|
|
|
+ $link = Dever::input('link');
|
|
|
|
+
|
|
|
|
+ $ios = array('type' => $type, 'id' => $id, 'name' => $name, 'link' => $link);
|
|
|
|
+
|
|
|
|
+ $push = array('jstyle://cn.jstyle.app/route?' . http_build_query($param), json_encode($param));
|
|
|
|
+
|
|
|
|
+ //$push = json_encode($push);
|
|
|
|
+ $uid = -1;
|
|
|
|
+
|
|
$result = $this->push($uid, $to_uid, $name, $content, 11, 1, 1, $push);
|
|
$result = $this->push($uid, $to_uid, $name, $content, 11, 1, 1, $push);
|
|
|
|
|
|
return $result;
|
|
return $result;
|