|
@@ -51,6 +51,15 @@ class Buy extends Base
|
|
|
return $data;
|
|
|
}
|
|
|
|
|
|
+ public function product_name()
|
|
|
+ {
|
|
|
+ $html = '小程序';
|
|
|
+ if ($this->cate == 4) {
|
|
|
+ $html = '安装APP';
|
|
|
+ }
|
|
|
+ return $html;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
public function lists_code()
|
|
|
{
|
|
@@ -174,6 +183,9 @@ class Buy extends Base
|
|
|
|
|
|
$scene = $uid . ',' . $type . ',' . $id;
|
|
|
|
|
|
+ if ($this->cate == 4) {
|
|
|
+ return 'https://7.jstyle.cn/1/2019/09/11/bc6ecfb8ccadc4e252ac23f2a3de3ad2.png';
|
|
|
+ }
|
|
|
$path = Dever::config('base')->applet_index;
|
|
|
$send['project'] = Dever::input('project', $this->cate);
|
|
|
$send['send'] = $scene;
|