getStoreById($storeid); $GLOBALS['frames'] = $this->getMainMenu2(); $item=pdo_get('wpdc_store',array('uniacid'=>$_W['uniacid'],'id'=>$storeid)); if(checksubmit('submit')){ $data['is_yypay']=$_GPC['is_yypay']; $res = pdo_update('wpdc_store', $data, array('id' => $_GPC['id'])); if($res){ message('编辑成功',$this->createWebUrl('yypay',array()),'success'); }else{ message('编辑失败','','error'); } } include $this->template('web/yypay');