Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -533,7 +533,7 @@ class Template extends Common{ | @@ -533,7 +533,7 @@ class Template extends Common{ | ||
| 533 | $result['url'] = url('Vegetable'); | 533 | $result['url'] = url('Vegetable'); |
| 534 | return $result; | 534 | return $result; |
| 535 | } | 535 | } |
| 536 | - $list= file_get_contents(UNDER_LINE.'App.Cookbook.VegetableManage&data='.json_encode($data)); | 536 | + $list= file_get_contents(ON_LINE.'App.Cookbook.VegetableManage&data='.json_encode($data)); |
| 537 | $array = json_decode($list,TRUE); | 537 | $array = json_decode($list,TRUE); |
| 538 | if($array['ret']==200){ | 538 | if($array['ret']==200){ |
| 539 | $result['code'] = 1; | 539 | $result['code'] = 1; |
| @@ -584,7 +584,7 @@ class Template extends Common{ | @@ -584,7 +584,7 @@ class Template extends Common{ | ||
| 584 | } | 584 | } |
| 585 | } | 585 | } |
| 586 | 586 | ||
| 587 | - $list= file_get_contents(UNDER_LINE.'App.Cookbook.VegetableManage&data='.json_encode($data).'&flag=1'); | 587 | + $list= file_get_contents(ON_LINE.'App.Cookbook.VegetableManage&data='.json_encode($data).'&flag=1'); |
| 588 | $array = json_decode($list,TRUE); | 588 | $array = json_decode($list,TRUE); |
| 589 | if($array['ret']==200){ | 589 | if($array['ret']==200){ |
| 590 | $result['code'] = 1; | 590 | $result['code'] = 1; |
-
Please register or login to post a comment