获取GET方式的参数 然后动态,显示页面?

参考本地例子:C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\URLParameters


区分登陆页面<1.系统账号WEB:http://localhost:8888/?LoginType=0

                          2.开发账号WEB:http://localhost:8888/?LoginType=1
                          3.框架账号WEB:http://localhost:8888/?LoginType=2

//系统账号
if SameText(UniApplication.Parameters.Values['LoginType'],'0') then 
begin
   //
end;

 


通过URL代入参数,在代码中读取,如:

http://localhost:8077/?ServerPort=212&&ServerIP=192.168.31.12

procedure TMainForm.UniFormCreate(Sender: TObject);//在代码中可以通过:
var    FServerIP ,FServerPort:string;
begin
    FServerIP := UniApplication.Parameters.Values['ServerIP'];
  FServerPort := UniApplication.Parameters.Values['ServerPort'];
end;
FServerIP =‘192.168.31.12
FServerPort ='212'
//放在 任何地方,你需要取参数的地方
总说我字少我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少
总说我字少我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少
总说我字少我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我字少总说我