|
...
|
...
|
@@ -533,7 +533,7 @@ class Template extends Common{ |
|
|
|
$result['url'] = url('Vegetable');
|
|
|
|
return $result;
|
|
|
|
}
|
|
|
|
$list= file_get_contents(UNDER_LINE.'App.Cookbook.VegetableManage&data='.json_encode($data));
|
|
|
|
$list= file_get_contents(ON_LINE.'App.Cookbook.VegetableManage&data='.json_encode($data));
|
|
|
|
$array = json_decode($list,TRUE);
|
|
|
|
if($array['ret']==200){
|
|
|
|
$result['code'] = 1;
|
|
...
|
...
|
@@ -584,7 +584,7 @@ class Template extends Common{ |
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$list= file_get_contents(UNDER_LINE.'App.Cookbook.VegetableManage&data='.json_encode($data).'&flag=1');
|
|
|
|
$list= file_get_contents(ON_LINE.'App.Cookbook.VegetableManage&data='.json_encode($data).'&flag=1');
|
|
|
|
$array = json_decode($list,TRUE);
|
|
|
|
if($array['ret']==200){
|
|
|
|
$result['code'] = 1;
|
...
|
...
|
|