mirror of
https://gitee.com/BDWare/agent-backend
synced 2025-01-10 09:54:11 +00:00
14 lines
243 B
Plaintext
14 lines
243 B
Plaintext
import "naiveDAC/naiveDAC.yjs"
|
|
contract DACSample{
|
|
function onCreate(){
|
|
initDAC(requester);
|
|
}
|
|
export function access(arg){
|
|
if (checkPermission(requester)){
|
|
return "true";
|
|
}
|
|
else
|
|
return "access denied";
|
|
}
|
|
}
|