摘要: 1 flask基本配置 2 用到的主要函数,主要逻辑在第三步 3 主要逻辑 精简版: 阅读全文
posted @ 2018-05-28 18:04 Adamanter 阅读(991) 评论(0) 推荐(0) 编辑
摘要: 1 继承日志模块生成自定义日志 from __future__ import absolute_import import os import sys import time import datetime import logging import logging.handlers import 阅读全文
posted @ 2018-05-28 17:05 Adamanter 阅读(933) 评论(0) 推荐(0) 编辑
摘要: 1 返回数据中配置 2 app中配置 阅读全文
posted @ 2018-05-28 16:59 Adamanter 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 1 python简单发送get请求 2 python简单发送post请求(json) 如下,发送图片网络地址请求AI人工智能服务器提供相似图片集返回的请求 阅读全文
posted @ 2018-05-28 16:33 Adamanter 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 1 nginx反向代理 正向代理浏览器,反向代理web服务器 假设阿里云服务器地址:demo.adamant.com dns解析 默认80端口,ip地址xxx.xx.xxx.xxx server { listen 80; server_name localhost; client_max_body_ 阅读全文
posted @ 2018-05-28 11:45 Adamanter 阅读(93) 评论(0) 推荐(0) 编辑