source link:
https://learnblockchain.cn/question/2940
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
合约的读方法,带有管理员权限才能请求
//ONLY OWNER VIEWS
function getBaseURI() public view onlyOwner returns (string memory) {
return baseURI;
}