The requested URL /uploadfile/http://ewm/index.php?s=api&c=api&m=qrcode&thumb=&text=%2Findex.php%3Fc%3Dshow%26id%3D24&size=5&level=H was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
dr_qrcode函數(shù),需要使用php技術(shù)寫一個(gè)自定義回調(diào)函數(shù)
參考文檔:《后臺(tái)顯示字段回調(diào)》
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
參考文檔:《二維碼》
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
config/custom.php
function mytest($value, $param = [], $data = [], $field = []) { $html = '<img src="'.dr_qrcode($data['url']).'">'; return $html; // 輸出二維碼 }這個(gè)還是很好寫的
回復(fù)@小波工作室 能否加個(gè)點(diǎn)擊二維碼可以直接下載下來
function mytest($value, $param = [], $data = [], $field = []) { $img = dr_qrcode($data['url']); $html = '<a href="'.dr_down_file(urlencode($img)).'"><img src="'.$img.'"></a>'; return $html; // 輸出二維碼 }回復(fù)@小波工作室 出錯(cuò)了呢
Not Found
The requested URL /uploadfile/http://ewm/index.php?s=api&c=api&m=qrcode&thumb=&text=%2Findex.php%3Fc%3Dshow%26id%3D24&size=5&level=H was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.