内容目录
一、详细介绍
玖玖NFT数字藏品源码
这套还是很不错的,前端uniapp,后端FastAdmin,对接汇元支付,富友支付,对接avata链,没有去测试,感兴趣的自行下载研究
二、效果展示
1.部分代码
代码如下(示例):
php
if (!function_exists('is_really_writable')) {
/**
*
* @param string $file 文件或目录
* @return bool
*/
function is_really_writable($file)
{
if (DIRECTORY_SEPARATOR === '/') {
return is_writable($file);
}
if (is_dir($file)) {
$file = rtrim($file, '/') . '/' . md5(mt_rand());
if (($fp = @fopen($file, 'ab')) === false) {
return false;
}
fclose($fp);
@chmod($file, 0777);
@unlink($file);
return true;
} elseif (!is_file($file) or ($fp = @fopen($file, 'ab')) === false) {
return false;
}
fclose($fp);
return true;
}
}
2.效果图展示
三、学习资料下载
百度云:https://pan.baidu.com/s/13ql3-Ued7UqWX6mUqbVtBg?pwd=tk24