|
|
|
@ -19,6 +19,10 @@ const allowDisparity = 1000 * 60 * 60 * 24 * 7
|
|
|
|
* @param productLink 开源链接
|
|
|
|
* @param productLink 开源链接
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function isStarRepo(owner, repo, userId, redirectUrl,productName,productLink) {
|
|
|
|
export function isStarRepo(owner, repo, userId, redirectUrl,productName,productLink) {
|
|
|
|
|
|
|
|
const judge = process.env.VUE_APP_JUDGE_STAR
|
|
|
|
|
|
|
|
if (!judge || judge == 0) {
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
const key = userId + '_' + owner + '_' + repo
|
|
|
|
const key = userId + '_' + owner + '_' + repo
|
|
|
|
console.log(key)
|
|
|
|
console.log(key)
|
|
|
|
// 判断是否近期已经判断过了
|
|
|
|
// 判断是否近期已经判断过了
|
|
|
|
|