Pages

Add Full Meridian Perfect World

Add Full Meridian Function to Myweb
$api My::app()->getApi(); $role CAuth::selectedRoleId(); $roleData $api->getRole($role); 

if (
$roleData['status']['meridian_data'] != '0000005000000000000000000000000500000064000000000000000100000000000000000000000000000000000000000000000000000000'){ 
     
    
$roleData['status']['meridian_data'] = '0000005000000000000000000000000500000064000000000000000100000000000000000000000000000000000000000000000000000000'

    if(
$api->putRole($role$roleData)) { 
        echo 
'success'
    }else { 
        echo 
'system error'
    } 
}  
bhashana
Ragezone