api_edit() public method

api_edit function.
public api_edit ( ) : void
return void
Example #1
0
include_once BG_PATH_FUNC . "init.func.php";
//管理员通用
fn_init(true, false, "Content-type: application/json", true, "ajax");
include_once BG_PATH_CONTROL . "api/user.class.php";
//载入商家控制器
$api_user = new API_USER();
//初始化商家
switch ($GLOBALS["act_post"]) {
    case "reg":
        $api_user->api_reg();
        break;
    case "login":
        $api_user->api_login();
        break;
    case "edit":
        $api_user->api_edit();
        break;
    case "mailbox":
        $api_user->api_mailbox();
        break;
    case "nomail":
        $api_user->api_nomail();
        break;
    case "forgot":
        $api_user->api_forgot();
        break;
    case "del":
        $api_user->api_del();
        break;
    default:
        switch ($GLOBALS["act_get"]) {