1
This commit is contained in:
@@ -275,6 +275,30 @@ die;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function myPush(){
|
||||
// phpinfo();die;
|
||||
// $data = $this->request->post();
|
||||
// $rule = new Validate([
|
||||
// "email"=>"require",
|
||||
// "title"=>"require",
|
||||
// "content"=>"require"
|
||||
// ]);
|
||||
// if(!$rule->check($data)){
|
||||
// return jsonError($rule->getError());
|
||||
// }
|
||||
|
||||
$data['email'] = "751475802@qq.com";
|
||||
$data['title'] = "test title";
|
||||
$data['content'] = "content";
|
||||
|
||||
|
||||
echo sendMyEmail($data['email'],$data['title'],$data['content']);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public function lsPushEmail()
|
||||
{
|
||||
// $journal_info = $this->journal_obj->where("journal_id", 4)->find();
|
||||
|
||||
Reference in New Issue
Block a user