|
|
@@ -157,22 +157,32 @@ Page({
|
|
157
|
157
|
|
|
158
|
158
|
//app.globalData.userInfo.AvatarUrl = param.avatarUrl;
|
|
159
|
159
|
that.getQuestionType(function () {
|
|
160
|
|
- setTimeout(function () {
|
|
161
|
|
- common.getStorageValue(that, "IsStart", false, function () {
|
|
162
|
|
- if (that.data.IsStart) {
|
|
163
|
160
|
|
|
164
|
|
- wx.redirectTo({
|
|
165
|
|
- url: '../main/default'
|
|
166
|
|
- })
|
|
167
|
|
-
|
|
168
|
|
- }
|
|
169
|
|
- else {
|
|
170
|
|
- wx.redirectTo({
|
|
171
|
|
- url: '../main/help'
|
|
172
|
|
- })
|
|
173
|
|
- }
|
|
|
161
|
+ if (that.data.ProductID) {
|
|
|
162
|
+ var url = "../../package4/main/activateOK?ProductID=" + that.data.ProductID
|
|
|
163
|
+ + "&ProductUserID=" + that.data.ProductUserID
|
|
|
164
|
+ + "&CurrentUserID=" + app.globalData.userInfo.UserID
|
|
|
165
|
+ + "&CurrentProductID=" + app.globalData.ProgramID;
|
|
|
166
|
+ wx.redirectTo({
|
|
|
167
|
+ url: url
|
|
174
|
168
|
});
|
|
175
|
|
- }, 2000);
|
|
|
169
|
+ }
|
|
|
170
|
+ else {
|
|
|
171
|
+ setTimeout(function () {
|
|
|
172
|
+ common.getStorageValue(that, "IsStart", false, function () {
|
|
|
173
|
+ if (that.data.IsStart) {
|
|
|
174
|
+ wx.redirectTo({
|
|
|
175
|
+ url: '../main/default'
|
|
|
176
|
+ })
|
|
|
177
|
+ }
|
|
|
178
|
+ else {
|
|
|
179
|
+ wx.redirectTo({
|
|
|
180
|
+ url: '../main/help'
|
|
|
181
|
+ })
|
|
|
182
|
+ }
|
|
|
183
|
+ });
|
|
|
184
|
+ }, 2000);
|
|
|
185
|
+ }
|
|
176
|
186
|
that.getPriceList();
|
|
177
|
187
|
});
|
|
178
|
188
|
}
|