Authored by liuyue

测试环境端口

... ... @@ -31,7 +31,7 @@ var config = {
host:'localhost'
},
apiKey:'sd4H1ecAqlp',
domain:'http://192.168.102.202:8081/platform',
domain:'http://192.168.102.202:8088/platform',
logsFile:'/Data/logs/node/yohobuy-portal-log/',
loggers: {
api: {
... ...
... ... @@ -248,7 +248,7 @@ exports.res = [
reqDepartment: "零售运营部/平台运营",
limitTimes: 1,
userUseLimit: 1,
userTypeLimit: '1|2|3|4|5|6'
userTypeLimit: '新注册|注册未购买|普通会员|银卡会员|金卡会员|白金会员'
}
},
src:'/market/limitcode-edit'
... ... @@ -280,6 +280,7 @@ exports.res = [
method: 'GET',
view: 'pages/market/limitcode-info',
url:"/limitCode/getLimitCode",
src: "/market/limitcode-info",
isJsonRaw: true,
params: [
{name: 'id',type: 'String'}
... ...
... ... @@ -114,25 +114,25 @@
<label for="name" class="col-sm-2 control-label">会员身份<i class="red">*</i></label>
<div class="col-sm-10">
<label class="checkbox-inline">
<input type="checkbox" value="1" name="userTypeLimit" > 新注册
<input type="checkbox" value="新注册" name="userTypeLimit" > 新注册
</label>
<label class="checkbox-inline">
<input type="checkbox" value="2" name="userTypeLimit"> 注册未购买
<input type="checkbox" value="注册未购买" name="userTypeLimit"> 注册未购买
</label>
<label class="checkbox-inline">
<input type="checkbox" value="3" name="userTypeLimit"> 普通会员
<input type="checkbox" value="普通会员" name="userTypeLimit"> 普通会员
</label>
<label class="checkbox-inline">
<input type="checkbox" value="4" name="userTypeLimit"> 银卡会员
<input type="checkbox" value="银卡会员" name="userTypeLimit"> 银卡会员
</label>
<label class="checkbox-inline">
<input type="checkbox" value="5" name="userTypeLimit"> 金卡会员
<input type="checkbox" value="金卡会员" name="userTypeLimit"> 金卡会员
</label>
<label class="checkbox-inline">
<input type="checkbox" value="6" name="userTypeLimit"> 白金会员
<input type="checkbox" value="白金会员" name="userTypeLimit"> 白金会员
</label>
<label class="checkbox-inline">
<input type="checkbox" value="7" name="userTypeLimit"> 指定用户
<input type="checkbox" value="指定用户" name="userTypeLimit"> 指定用户
</label>
</div>
... ...
... ... @@ -17,10 +17,7 @@
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">数量 :</div>
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">{{ limitTimes}}</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">使用次数 :</div>
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">{{ userUseLimit}}</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">申请部门 :</div>
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">{{ reqDepartment}}</div>
... ... @@ -38,6 +35,10 @@
<div id="userUseLimit" class="col-xs-8 col-sm-8 col-md-8 col-lg-8">{{ userTypeLimit}}</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">限用次数 :</div>
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">{{ userUseLimit}}</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">指定商品 :</div>
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">{{limitSkn}}</div>
</div>
... ... @@ -53,11 +54,3 @@
{{/data}}
</div>
</div>
<script type="text/javascript">
var userUseLimitTip = {1: '新注册', 2: '注册未购买', 3: '普通会员',
4: '银卡会员', 5: '金卡会员', 6: '白金会员', 7: '指定用户'},
userUseLimit = document.getElementById('userUseLimit');
userUseLimit.innerText = userUseLimitTip[userUseLimit.innerHTML];
</script>
\ No newline at end of file
... ...