dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
向pc端转发三一车辆位置申请提交
zhangnaisong
2024-01-29
dec2e65f7d3917e8843564dc26184f9be7c48af3
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
unique-filename
/
index.js
1
2
3
4
5
6
7
8
'use strict'
var path = require('path')
var uniqueSlug = require('unique-slug')
module.exports = function (filepath, prefix, uniq) {
return path.join(filepath, (prefix ? prefix + '-' : '') + uniqueSlug(uniq))
}