/*
* @Descripttion:
* @version:
* @Author: sueRimn
* @Date: 2020-07-07 11:33:19
* @LastEditors: sueRimn
* @LastEditTime: 2020-07-09 16:06:53
*/
var express = require('express');
var router = express.Router();
const multer = require('multer');
const co = require('co');
const fs = require('fs')
let User = require('../controller/usercontroller');
const MAO = require('multer-aliyun-oss');
let OSS = require('ali-oss')
let client = new OSS({
region: '',
accessKeyId: '',
accessKeySecret: ',
});
var ali_oss = {
bucket: '',
endPoint: '',
}
let upload = multer({ dest: './upload' }).singl