我目前的网址是
long timestampNow = System.currentTimeMillis();
UpdateItemSpec updateItemSpec = new UpdateItemSpec()
.withPrimaryKey("primary_key", theKey)
.withReturnValues(ReturnValue.ALL_NEW)
.withConditionExpression("attribute_not_exists(my_attr) or my_attr < :now")
.withUpdateExpression("SET my_attr = :exp")
.withValueMap(new ValueMap()
.withLong(":now", timestampNow)
.withLong(":exp", timestampNow+LOCK_EXPIRY_DURATION));
try {
UpdateItemOutcome outcome = AWS.DYNAMO_DOC.getTable("my_table").updateItem(updateItemSpec);
return outcome.getUpdateItemResult().getAttributes();
} catch (ConditionalCheckFailedException e) {
return null;
}
但我想把它显示为
http://localhost/ssl_project/gp_crm/home.php?route=user_create
我在http://localhost/ssl_project/gp_crm/user_create
.htaccess
使用此代码后我得到了
错误500。
请帮帮我。
答案 0 :(得分:0)
以下规则应该有效,如果它与其他规则没有冲突,请在gp_crm目录中使用它。
videoLoad(e) {
console.log('videoLoaded');
var iframe = e.target; // it is equal to "this.videoFrame" and so, you can avoid using "ref"
//this.videoFrame.addEventListener('keydown',this.onVideoDown);
iframe.contentWindow.document.addEventListener('keydown', this.onVideoDown);
}