|  |  |  | @ -344,3 +344,9 @@ INSERT INTO `perm_role_permission` (`id`, `role_code`, `route_id`, `gmt_create`, | 
			
		
	
		
			
				
					|  |  |  |  | INSERT INTO `user_info` (`id`, `username`, `password`, `nickname`, `gmt_create`, `gmt_modified`) VALUES | 
			
		
	
		
			
				
					|  |  |  |  | 	(1,'zhangsan','123456','张三','2019-04-27 08:32:57','2019-04-27 08:32:57'); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | INSERT INTO `isp_resource` (`id`, `name`, `content`, `ext_content`, `version`, `type`, `is_deleted`, `gmt_create`, `gmt_modified`) VALUES | 
			
		
	
		
			
				
					|  |  |  |  | 	(1,'Java','http://www.baidu.com','```java\nString url = "http://localhost:8081";\nString appId = "2019032617262200001";\nString privateKey = "你的私钥";\n\n// 声明一个就行\nOpenClient client = new OpenClient(url, appId, privateKey);\n\n// 标准用法\n@Test\npublic void testGet() {\n    // 创建请求对象\n    GetStoryRequest request = new GetStoryRequest();\n    // 请求参数\n    GetStoryModel model = new GetStoryModel();\n    model.setName("白雪公主");\n    \n    request.setBizModel(model);\n\n    // 发送请求\n    GetStoryResponse response = client.execute(request);\n\n    if (response.isSuccess()) {\n        // 返回结果\n        System.out.println(response);\n    } else {\n        System.out.println(response);\n    }\n}\n```','1.0',0,0,'2020-11-07 14:29:11','2020-11-07 14:29:11'), | 
			
		
	
		
			
				
					|  |  |  |  | 	(2,'C#','http://www.soso.com','```\nclass MainClass\n{\n    static string url = "http://localhost:8081";\n    static string appId = "2019032617262200001";\n    // 平台提供的私钥\n    static string privateKey = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCXJv1pQFqWNA/++OYEV7WYXwexZK/J8LY1OWlP9X0T6wHFOvxNKRvMkJ5544SbgsJpVcvRDPrcxmhPbi/sAhdO4x2PiPKIz9Yni2OtYCCeaiE056B+e1O2jXoLeXbfi9fPivJZkxH/tb4xfLkH3bA8ZAQnQs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WosHSe+d2WWXt8IZBhO9d6dn0f7ORvcjmCqNKTNGgrkewMZEuVcliueJquR47IROdY8qmwqcBAN7Vg2K7r7CPlTKAWTRYMJxCT1Hi5gwJb+CZF3+IeYqsJk2NF2s0w5WJTE70k1BSvQsfIzAIDz2yE1oPHvwVAoGAA6e+xQkVH4fMEph55RJIZ5goI4Y76BSvt2N5OKZKd4HtaV+eIhM3SDsVYRLIm9ZquJHMiZQGyUGnsvrKL6AAVNK7eQZCRDk9KQz+0GKOGqku0nOZjUbAu6A2/vtXAaAuFSFx1rUQVVjFulLexkXR3KcztL1Qu2k5pB6Si0K/uwQ=";\n\n\n    // 声明一个就行\n    static OpenClient client = new OpenClient(url, appId, privateKey);\n\n    public static void Main(string[] args)\n    {\n        TestGet();\n    }\n\n    // 标准用法\n    private static void TestGet()\n    {\n        // 创建请求对象\n        GetStoryRequest request = new GetStoryRequest();\n        // 请求参数\n        GetStoryModel model = new GetStoryModel();\n        model.Name = "白雪公主";\n        request.BizModel = model;\n\n        // 发送请求\n        GetStoryResponse response = client.Execute(request);\n\n        if (response.IsSuccess())\n        {\n            // 返回结果\n            Console.WriteLine("成功!response:{0}\\n响应原始内容:{1}", JsonUtil.ToJSONString(response), response.Body);\n        }\n        else\n        {\n            Console.WriteLine("错误, code:{0}, msg:{1}, subCode:{2}, subMsg:{3}",\n                response.Code, response.Msg, response.SubCode, response.SubMsg);\n        }\n    }\n\n    \n}\n```','1.0',0,0,'2020-11-07 14:29:38','2020-11-07 14:29:38'), | 
			
		
	
		
			
				
					|  |  |  |  | 	(3,'Python','http://www.bilibili.com','```python\n    # 创建请求\n    request = MemberInfoGetRequest()\n    # 请求参数\n    model = MemberInfoGetModel()\n    model.age = 22\n    model.name = \'jim\'\n    model.address = \'xx\'\n    # 添加请求参数\n    request.biz_model = model\n\n    # 添加上传文件\n    # files = {\n    #     \'file1\': open(\'aa.txt\', \'rb\'),\n    #     \'file2\': open(\'bb.txt\', \'rb\')\n    # }\n    # request.files = files\n\n    # 调用请求\n    response = self.client.execute(request)\n\n    if response.is_success():\n        print \'response: \', response\n        print \'is_vip:\', response.get(\'member_info\').get(\'is_vip\', 0)\n    else:\n        print \'请求失败,code:%s, msg:%s, sub_code:%s, sub_msg:%s\' % \\\n              (response.code, response.msg, response.sub_code, response.sub_msg)\n```','1.0',0,0,'2020-11-07 14:30:16','2020-11-07 14:31:41'), | 
			
		
	
		
			
				
					|  |  |  |  | 	(4,'Go','http://www.baidu.com','```go\n\n// 应用ID\nconst appId string = "xx"\n// 应用私钥\nconst privateKey string = "xx"\n// 请求地址\nconst url string = "http://localhost:7071/prod/gw68uy85"\n\n// 请求客户端\nvar openClient = common.OpenClient{AppId: appId, PrivateKey: privateKey, Url: url}\n\nfunc main() {\n	// 创建请求\n	memberInfoGetRequest := request.MemberInfoGetRequest{}\n	// 请求参数\n	memberInfoGetRequest.BizModel = model.MemberInfoGetModel{Name: "jim", Age: 22, Address: "xx"}\n	\n    // 添加上传文件\n	//path, _ := os.Getwd()\n	//files := []common.UploadFile{\n	//	{Name:"file1", Filepath:path + "/test/aa.txt"},\n	//	{Name:"file2", Filepath:path + "/test/bb.txt"},\n	//}\n	//memberInfoGetRequest.Files = files\n    \n    // 发送请求,返回json bytes\n	var jsonBytes = openClient.Execute(memberInfoGetRequest)\n	fmt.Printf("data:%s\\n", string(jsonBytes))\n	// 转换结果\n	var memberInfoGetResponse response.MemberInfoGetResponse\n	response.ConvertResponse(jsonBytes, &memberInfoGetResponse)\n\n	if memberInfoGetResponse.IsSuccess() {\n		fmt.Printf("is_vip:%d, vip_endtime:%s\\n", memberInfoGetResponse.MemberInfo.IsVip, memberInfoGetResponse.MemberInfo.VipEndtime)\n	} else {\n		fmt.Printf("code:%s, msg:%s, subCode:%s, subMsg:%s\\n",\n			memberInfoGetResponse.Code, memberInfoGetResponse.Msg, memberInfoGetResponse.SubCode, memberInfoGetResponse.SubMsg)\n	}\n}\n```','1.0',0,0,'2020-11-07 14:31:21','2020-11-07 14:31:21'), | 
			
		
	
		
			
				
					|  |  |  |  | 	(5,'C++','http://pan.baidu.com','#include <iostream>\n\n#include "common/OpenClient.h"\n#include "request/BaseRequest.h"\n#include "request/MemberInfoGetRequest.hpp"\n\n// 应用ID\nstring appId = "2020051325943082302177280";\n// 存放私钥的文件路径\nstring privateKeyFile = "/Users/thc/IdeaProjects/opc/opc-sdk/sdk-c++/privateEx.pem";\n// 请求接口\nstring url = "http://localhost:7071/prod/gw68uy85";\n\nOpenClient openClient(appId, privateKeyFile, url);\n\nint main() {\n    // 创建请求\n    MemberInfoGetRequest request;\n\n    // 业务参数\n    map<string, string> bizModel;\n    bizModel["name"] = "jim";\n    bizModel["age"] = "22";\n    bizModel["address"] = "xx";\n\n    request.bizModel = bizModel;\n\n    // 添加上传文件\n//    request->setFiles({\n//        FileInfo{"aa", "/Users/thc/IdeaProjects/opc/opc-sdk/sdk-c++/aa.txt"},\n//        FileInfo{"bb", "/Users/thc/IdeaProjects/opc/opc-sdk/sdk-c++/bb.txt"}\n//    });\n\n    // 发送请求\n    neb::CJsonObject jsonObj = openClient.execute(&request);\n    std::cout << jsonObj.ToString() << std::endl;\n    std::cout << "id:" << jsonObj["id"].ToString() << std::endl;\n    std::cout << "is_vip:" << jsonObj["member_info"]["is_vip"].ToString() << std::endl;\n    return 0;\n}\n\n','1.0',0,0,'2020-11-07 14:32:55','2020-11-07 14:32:55'); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |