Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
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
杨凯
YDL-Component-Medical
Commits
a2025597
Commit
a2025597
authored
Nov 15, 2019
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
版本
parent
68c3b5a4
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
25 additions
and
25 deletions
+25
-25
config.gradle
config.gradle
+4
-4
CommonPayDialog.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/CommonPayDialog.kt
+3
-3
ActionCountUtils.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/actionpoint/ActionCountUtils.kt
+0
-2
ActionDataBean.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/actionpoint/ActionDataBean.kt
+1
-1
BIConstants.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/actionpoint/BIConstants.kt
+1
-1
SelectCouponAdapter.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/adapter/SelectCouponAdapter.kt
+8
-6
HttpConfig.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/http/HttpConfig.kt
+1
-1
HttpUtils.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/http/HttpUtils.kt
+1
-1
ToastHelper.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/toast/ToastHelper.kt
+1
-1
CouponInfoDetailView.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/widget/CouponInfoDetailView.kt
+1
-1
PayCouponView.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/widget/PayCouponView.kt
+3
-3
PayInfoDetailView.kt
ydl-pay/src/main/java/com/yidianling/ydl_pay/widget/PayInfoDetailView.kt
+1
-1
No files found.
config.gradle
View file @
a2025597
ext
{
kotlin_version
=
"1.3.21"
dev_mode
=
tru
e
dev_mode
=
fals
e
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
...
...
@@ -44,7 +44,7 @@ ext {
"m-audioim"
:
"0.0.11"
,
"m-confide"
:
"0.0.14"
,
"m-consultant"
:
"0.0.21"
,
"m-course"
:
"0.0.
5
"
,
"m-course"
:
"0.0.
6
"
,
"m-fm"
:
"0.0.10"
,
"m-muse"
:
"0.0.6"
,
"m-tests"
:
"0.0.3"
,
...
...
@@ -62,7 +62,7 @@ ext {
"ydl-flutter-base"
:
"0.0.3"
,
"ydl-media"
:
"0.0.8"
,
"ydl-net"
:
"0.0.1"
,
"ydl-pay"
:
"0.0.
3
"
,
"ydl-pay"
:
"0.0.
5
"
,
"ydl-platform"
:
"0.0.19"
,
"ydl-utils"
:
"0.0.2"
,
"ydl-webview"
:
"0.0.19"
,
...
...
@@ -92,7 +92,7 @@ ext {
"ydl-flutter-base"
:
"0.0.3"
,
"ydl-media"
:
"0.0.8"
,
"ydl-net"
:
"0.0.1"
,
"ydl-pay"
:
"0.0.
3
"
,
"ydl-pay"
:
"0.0.
5
"
,
"ydl-platform"
:
"0.0.19"
,
"ydl-utils"
:
"0.0.2"
,
"ydl-webview"
:
"0.0.19"
,
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/CommonPayDialog.kt
View file @
a2025597
...
...
@@ -15,9 +15,9 @@ import com.alipay.sdk.app.PayTask
import
com.tencent.mm.opensdk.modelpay.PayReq
import
com.tencent.mm.opensdk.openapi.WXAPIFactory
import
com.yidianling.ydl_pay.http.HttpUtils
import
com.y
dl
.ydl_pay.toast.ToastHelper
import
com.y
dl
.ydl_pay.widget.PayCouponView
import
com.y
dl
.ydl_pay.widget.PayInfoDetailView
import
com.y
idianling
.ydl_pay.toast.ToastHelper
import
com.y
idianling
.ydl_pay.widget.PayCouponView
import
com.y
idianling
.ydl_pay.widget.PayInfoDetailView
import
com.yidianling.ydl_pay.bean.*
import
com.yidianling.ydl_pay.bean.params.*
import
com.yidianling.ydl_pay.http.utils.NetUtils
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/actionpoint/ActionCountUtils.kt
View file @
a2025597
...
...
@@ -3,8 +3,6 @@ package com.yidianling.ydl_pay.actionpoint
import
android.content.Context
import
android.net.ConnectivityManager
import
android.net.NetworkInfo
import
com.ydl.ydl_pay.actionpoint.ActionDataBean
import
com.ydl.ydl_pay.actionpoint.BIConstants
import
com.yidianling.ydl_pay.http.HttpUtils
import
com.yidianling.ydl_pay.http.utils.RxDeviceTool
import
io.reactivex.android.schedulers.AndroidSchedulers
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/actionpoint/ActionDataBean.kt
View file @
a2025597
package
com.y
dl
.ydl_pay.actionpoint
package
com.y
idianling
.ydl_pay.actionpoint
/**
* Created by xj on 2019/6/22.
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/actionpoint/BIConstants.kt
View file @
a2025597
package
com.y
dl
.ydl_pay.actionpoint
package
com.y
idianling
.ydl_pay.actionpoint
/**
* Created by xj on 2019/7/1.
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/adapter/SelectCouponAdapter.kt
View file @
a2025597
package
com.y
dl
.ydl_pay.adapter
package
com.y
idianling
.ydl_pay.adapter
import
android.annotation.SuppressLint
import
android.content.Context
...
...
@@ -8,9 +8,9 @@ import android.view.View
import
android.view.ViewGroup
import
android.widget.TextView
import
com.yidianling.ydl_pay.actionpoint.ActionCountUtils
import
com.y
dl
.ydl_pay.actionpoint.BIConstants
import
com.y
dl
.ydl_pay.http.HttpConfig
import
com.y
dl
.ydl_pay.widget.CouponInfoDetailView
import
com.y
idianling
.ydl_pay.actionpoint.BIConstants
import
com.y
idianling
.ydl_pay.http.HttpConfig
import
com.y
idianling
.ydl_pay.widget.CouponInfoDetailView
import
com.yidianling.ydl_pay.R
import
com.yidianling.ydl_pay.bean.AllCouponListBean
import
com.yidianling.ydl_pay.bean.CommonCouponBean
...
...
@@ -158,13 +158,15 @@ class SelectCouponAdapter(var couponListBean: AllCouponListBean, var context: Co
couponListBean
.
available
[
it
].
hasSelected
=
0
}
couponListBean
.
available
[
realPosition
-
1
].
hasSelected
=
1
ActionCountUtils
.
count
(
HttpConfig
.
uid
,
BIConstants
.
PART_ID_COURSE_COUPON_PAGE
,
ActionCountUtils
.
count
(
HttpConfig
.
uid
,
BIConstants
.
PART_ID_COURSE_COUPON_PAGE
,
BIConstants
.
POSITION_COURSE_COUPON_CLICK
,
""
,
""
,
couponListBean
.
available
[
realPosition
-
1
].
couponId
)
notifyDataSetChanged
()
event
(
couponListBean
.
available
[
realPosition
-
1
])
}
else
{
//点击的优惠券是选中的
couponListBean
.
available
[
realPosition
-
1
].
hasSelected
=
0
ActionCountUtils
.
count
(
HttpConfig
.
uid
,
BIConstants
.
PART_ID_COURSE_COUPON_PAGE
,
ActionCountUtils
.
count
(
HttpConfig
.
uid
,
BIConstants
.
PART_ID_COURSE_COUPON_PAGE
,
BIConstants
.
POSITION_COURSE_COUPON_CLICK
,
""
,
""
,
""
)
notifyDataSetChanged
()
event
(
null
)
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/http/HttpConfig.kt
View file @
a2025597
package
com.y
dl
.ydl_pay.http
package
com.y
idianling
.ydl_pay.http
/**
* @author jiucheng
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/http/HttpUtils.kt
View file @
a2025597
package
com.yidianling.ydl_pay.http
import
com.google.gson.Gson
import
com.y
dl
.ydl_pay.actionpoint.ActionDataBean
import
com.y
idianling
.ydl_pay.actionpoint.ActionDataBean
import
com.ydl.ydlcommon.data.http.BaseCommand
import
com.ydl.ydlcommon.data.http.BaseResponse
import
com.ydl.ydlcommon.utils.NetworkParamsUtils
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/toast/ToastHelper.kt
View file @
a2025597
package
com.y
dl
.ydl_pay.toast
package
com.y
idianling
.ydl_pay.toast
import
android.content.Context
import
android.support.annotation.StringRes
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/widget/CouponInfoDetailView.kt
View file @
a2025597
package
com.y
dl
.ydl_pay.widget
package
com.y
idianling
.ydl_pay.widget
import
android.annotation.SuppressLint
import
android.content.Context
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/widget/PayCouponView.kt
View file @
a2025597
package
com.y
dl
.ydl_pay.widget
package
com.y
idianling
.ydl_pay.widget
import
android.content.Context
import
android.os.Handler
...
...
@@ -13,9 +13,9 @@ import android.view.inputmethod.InputMethodManager
import
android.widget.EditText
import
android.widget.LinearLayout
import
android.widget.TextView
import
com.y
dl
.ydl_pay.adapter.SelectCouponAdapter
import
com.y
idianling
.ydl_pay.adapter.SelectCouponAdapter
import
com.yidianling.ydl_pay.http.HttpUtils
import
com.y
dl
.ydl_pay.toast.ToastHelper
import
com.y
idianling
.ydl_pay.toast.ToastHelper
import
com.yidianling.ydl_pay.R
import
com.yidianling.ydl_pay.bean.AllCouponListBean
import
com.yidianling.ydl_pay.bean.CommonCouponBean
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/widget/PayInfoDetailView.kt
View file @
a2025597
package
com.y
dl
.ydl_pay.widget
package
com.y
idianling
.ydl_pay.widget
import
android.annotation.SuppressLint
import
android.content.Context
...
...
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