Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
方斌
51business
Commits
71d536c9
Commit
71d536c9
authored
Aug 22, 2019
by
任国军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rule
parent
b54b4109
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
product.js
app/service/gjj/product.js
+1
-3
No files found.
app/service/gjj/product.js
View file @
71d536c9
...
@@ -257,9 +257,7 @@ class ProductService extends Service {
...
@@ -257,9 +257,7 @@ class ProductService extends Service {
// 获取开关状态,判断是自动推荐or手动推荐orABTest
// 获取开关状态,判断是自动推荐or手动推荐orABTest
const
keyword
=
location
===
'list'
?
'config_list_smart_recommend'
:
'config_loan_smart_recommend'
;
const
keyword
=
location
===
'list'
?
'config_list_smart_recommend'
:
'config_loan_smart_recommend'
;
const
ruleSetting
=
await
this
.
app
.
huodongModel
.
Setting
.
findOne
({
where
:
{
keyword
}
});
const
ruleSetting
=
await
this
.
app
.
huodongModel
.
Setting
.
findOne
({
where
:
{
keyword
}
});
let
rule
=
Number
(
ruleSetting
.
value
);
const
rule
=
Number
(
ruleSetting
.
value
);
console
.
log
(
'rule: '
+
String
(
rule
));
rule
=
3
;
// 是否需要计算模型
// 是否需要计算模型
let
isNeedCalc
=
false
;
let
isNeedCalc
=
false
;
let
userInfo
=
{};
let
userInfo
=
{};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment