移除无用的接口
This commit is contained in:
parent
79d1141c17
commit
a40eac745b
@ -1,20 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import _common
|
||||
|
||||
class HelloWorld(object):
|
||||
|
||||
def __init__(self):
|
||||
self.apis = [
|
||||
{
|
||||
'desc': 'sayHello',
|
||||
'group': 'HelloWorld',
|
||||
'url': 'webapp/index.php?c=HelloWorld&a=sayHello',
|
||||
'params': [
|
||||
_common.ReqHead(),
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
]
|
||||
},
|
||||
]
|
@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
class HelloWorldController extends BaseController {
|
||||
|
||||
function __construct()
|
||||
{
|
||||
if (SERVER_ENV == _ONLINE) {
|
||||
die("can't create UnitTestController");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public function sayHello()
|
||||
{
|
||||
echo 'hellokjkjkljkljlk';
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user