19 Star 35 Fork 6

飞翔de希望 / HiBlog

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Update.php 543 Bytes
Copy Edit Web IDE Raw Blame History
李枨煊 authored 2018-08-10 19:27 . 更新注释
<?php
/**
* 更新附近的极客信息
*
* @package Controller
* @author chengxuan <i@chengxuan.li>
*/
error_reporting(E_ALL);
ini_set('display_errors', 'on');
class Server_Near_UpdateController extends AbsController {
public function indexAction() {
$access_token = $this->getRequest()->getPost('access_token');
Yaf_Registry::set('access_token', $access_token);
$result = Model\Server\Near::update();
Comm\Response::json(100000, '保存成功', ['result' => $result], false);
}
}

Comment ( 0 )

Sign in for post a comment

PHP
1
https://git.oschina.net/flyhope/HiBlog.git
git@git.oschina.net:flyhope/HiBlog.git
flyhope
HiBlog
HiBlog
master

Search