modified 修复类型BUG

This commit is contained in:
zhaoxiang 2017-04-27 14:56:15 +08:00
parent 7141eac9bb
commit da7e7bfcb9

View File

@ -142,7 +142,7 @@ class FieldsManageController extends BaseController {
}
D('ApiFields')->addAll($addData);
}
if ($type) {
if ($type == 0) {
S('ApiRequest_' . $hash, 0);
} else {
S('ApiResponse_' . $hash, 0);