Ver código fonte

Approlval -> Approval

JiahengHe 2 anos atrás
pai
commit
efb78782cc

+ 1 - 1
src/main/java/modules/address/token/TokenController.java

@@ -105,7 +105,7 @@ public class TokenController extends MyController {
 		renderJson(MyRet.ok("delete Token successful.").setData(service.deleteByHashAndChainId(token.getChainId(), token.getHash())));
 	}
 
-	@EmptyInterface(keyArray = {"chainId", "hash", "magicApprolval"})
+	@EmptyInterface(keyArray = {"chainId", "hash", "magicApproval"})
 	public void makeMagicApproval(){
 		String requestJson = (String) getRequest().getAttribute("data");
 		JSONObject requestJsonObj = JSONObject.parseObject(requestJson);

+ 1 - 1
src/test/http/address/TokenTest.http

@@ -90,7 +90,7 @@ Content-Type: application/json
 }
 
 ###
-POST {{ baseUrl }}/token/makeMagicApprolval
+POST {{ baseUrl }}/token/makeMagicApproval
 Content-Type: application/json
 
 {