no message
This commit is contained in:
parent
bebed29ec3
commit
e0c70c3c69
@ -14,13 +14,13 @@ class Option extends Base {
|
||||
throw new \Exception("没有?");
|
||||
}
|
||||
|
||||
$str = "";
|
||||
foreach ($oOptionList as $row) {
|
||||
// $str .= "\n\n";
|
||||
$str .= $row->key."::".$row->value;
|
||||
}
|
||||
// $str = "";
|
||||
// foreach ($oOptionList as $row) {
|
||||
//// $str .= "\n\n";
|
||||
// $str .= $row->key."::".$row->value;
|
||||
// }
|
||||
|
||||
return $str;
|
||||
return $this->toJson($oOptionList);
|
||||
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ class Option extends Base {
|
||||
$oOption->key = $sKey;
|
||||
$r = $oOption->save();
|
||||
|
||||
return $r;
|
||||
return $this->toJson($oOption);
|
||||
}
|
||||
|
||||
public function Like($aParam)
|
||||
@ -47,7 +47,9 @@ class Option extends Base {
|
||||
throw new \Exception("没有");
|
||||
}
|
||||
|
||||
$this->eachSendTg($oOption);
|
||||
return $this->toJson($oOption);
|
||||
|
||||
// $this->eachSendTg($oOption);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user