mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 03:38:03 +08:00
23 lines
553 B
C++
Executable File
23 lines
553 B
C++
Executable File
//
|
|
// Copyright 2018, An Tao. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a MIT license
|
|
// that can be found in the License file.
|
|
|
|
|
|
#include "create.h"
|
|
#include "cmd.h"
|
|
#include <drogon/DrClassMap.h>
|
|
#include <iostream>
|
|
#include <memory>
|
|
using namespace drogon_ctl;
|
|
|
|
|
|
void create::handleCommand(std::vector<std::string> ¶meters)
|
|
{
|
|
//std::cout<<"create!"<<std::endl;
|
|
auto createObjName=parameters[0];
|
|
createObjName=std::string("create_")+createObjName;
|
|
parameters[0]=createObjName;
|
|
exeCommand(parameters);
|
|
} |