|
@@ -2282,7 +2282,7 @@ class User extends Api
|
|
|
$this->success('绑定成功');
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
public function addgreetcontent() {
|
|
|
$type = input('type', 0, 'intval');
|
|
|
$title = input('title', '', 'trim');
|
|
@@ -2337,7 +2337,7 @@ class User extends Api
|
|
|
$this->success('设置成功');
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
public function getgreetcontent() {
|
|
|
$type = input('type', 0, 'intval');
|
|
|
if (!in_array($type, [0, 1, 2, 3])) {
|
|
@@ -2367,7 +2367,7 @@ class User extends Api
|
|
|
$this->success('打招呼内容', $list);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
public function setdefaultgreet() {
|
|
|
$id = input('id', 0, 'intval');
|
|
|
if (!$id) {
|
|
@@ -2398,7 +2398,7 @@ class User extends Api
|
|
|
$this->success('设置成功');
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
public function deldefaultgreet() {
|
|
|
$id = input('id', 0, 'intval');
|
|
|
if (!$id) {
|